从visual studio online部署到azure期间出错

从visual studio online部署到azure期间出错,azure,tfs,azure-devops,Azure,Tfs,Azure Devops,尝试从visual studio online部署到azure时,我遇到了一个奇怪的错误: Exception Message: Could not find a part of the path 'd:\a\src'. (type DirectoryNotFoundException) Exception Stack Trace: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at Sy

尝试从visual studio online部署到azure时,我遇到了一个奇怪的错误:

Exception Message: Could not find a part of the path 'd:\a\src'. (type DirectoryNotFoundException)
Exception Stack Trace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileSystemEnumerableIterator`1.CommonInit()
   at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)
   at System.IO.Directory.GetFiles(String path, String searchPattern, SearchOption searchOption)
   at Microsoft.TeamFoundation.Deployment.Workflow.Activities.FindPackageAndParametersFile.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)

我很确定我的解决方案中没有使用名为“d:\a\src”的文件夹。

我可以通过将
生成代理文件夹
更改为包含
$(SourceDir)
的文件夹来修复它。该文件夹是由生成服务创建的。