Reputation: 790
I've been using Visual Studio Online's Gated check-in to build and deploy my web API app to an Azure Website for a while now. Yesterday I added a few features to my app, and triggered a build after check-in, and it failed with the following response.
Exception Message: Value cannot be null.
Parameter name: path (type ArgumentNullException)
Exception Stack Trace: at System.Activities.Statements.Throw.Execute(CodeActivityContext context)
at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
I really don't know what is going on as this is clearly not my code and it worked a few weeks ago.
Any help will be appreciated.
Upvotes: 2
Views: 531
Reputation: 21
Could you provide more information on where in the build it failed? The callstack only contains details from Windows Workflow. If we could see what part of the build is actually hitting the error, we might be able to provide more help.
A recent update is the most likely cause, but we need to know more to isolate what is causing the issue.
If a Compilation Exception Occurred Rethrow Compilation Exception Exception Message: Value cannot be null. Parameter name: path (type ArgumentNullException) Exception Stack Trace: at System.Activities.Statements.Throw.Execute(CodeActivityContext context) at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
Upvotes: 2
Reputation: 4749
I have recreated the publish profile to fix the error: http://azure.microsoft.com/en-us/documentation/articles/cloud-services-continuous-delivery-use-vso/
You could as well switch to TfvcContinuousDeploymentTemplate.12.xaml template manually, looks like the AzureContinuousDeployment.11.xaml template isn't compatible with latest updates.
Upvotes: 2