这可能是一个已存在的问题,我们也升级到2012年只是巧合。
当我们的自动构建运行时,我们收到错误:
Exception Message: Could not find a part of the path 'ui-bg_highlight-soft_75_cccccc_1x100.png'. (type DirectoryNotFoundException)
Exception Stack Trace: at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
at Microsoft.TeamFoundation.Common.FileSpec.DeleteDirectory(String path, Boolean recursive)
at Microsoft.TeamFoundation.Build.Workflow.Activities.DeleteDirectory.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).
即使在删除所有出现的这个文件(我到处查看)之后,它仍然似乎在寻找它而没有找到它。
有没有人遇到过这个?
答案 0 :(得分:0)
这似乎发生了,因为构建位置是一个分支,然后存档(移动到存档文件夹)