I configured a build policy that builds every successful check in to Visual Studio Online, but I keep getting this error:
Summary
Other Errors
1 error(s)
Exception Message: The path '$/myproject/mysulution.sln' could not be converted to a local path. Make sure this path is relative to the 'src' folder on the build machine or specify a full server path.
(type ArgumentException)
Exception Stack Trace:
at Microsoft.TeamFoundation.Build.Activities.Core.LocalPathProvider.GetLocalPath(String incomingPath)
at System.Activities.CodeActivity`1.InternalExecute(ActivityInstance instance, ActivityExecutor executor,
BookmarkManager bookmarkManager)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
I am using the hosted build controller and my build folder is on my local PC.
A build definition is the mechanism that controls how and when builds occur for team projects in TFS. Each build definition specifies: The things you want to build, like Visual Studio solution files or custom Microsoft Build Engine (MSBuild) project files.
To configure verbose logs for a single run, you can start a new build by choosing Run pipeline and selecting Enable system diagnostics, Run. To configure verbose logs for all runs, you can add a variable named system. debug and set its value to true .
Azure Pipelines automatically builds and tests code projects to make them available to others. It works with just about any language or project type. Azure Pipelines combines continuous integration (CI) and continuous delivery (CD) to test and build your code and ship it to any target.
I just had the same error. Check if the server path in the "Source Settings" tab of your build definition is the same as the path in your "Process" by Projects to build. The mine was different. I accidentally selected the wrong branch...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With