Why does an automated build keep failing for solution hosted on Visual Studio Online
azure-devops, continuous-integration
Solution
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...
Problem
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.