我尝试在Visual Studio 2013中配置自动构建。我在1. Solution to build = C:\Users\xxx\Source\Repos\Project\AlarmPrinter\AlarmPrinter.sln
下设置BuildConfiguration - Process
(这是解决方案的确切路径)。但我得到以下例外情况。
Exception Message: The project file 'C:\Users\xxx\Source\Repos\Project\AlarmPrinter\AlarmPrinter.sln' was not found. (type FileNotFoundException)
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)
Unable to restore NuGet packages. Details: The directory name is invalid
TF270003: Failed to copy. Ensure the source directory C:\a\bin exists and that you have the appropriate permissions.
如何正确配置构建?