这可能是一个预先存在的问题,我们也升级到 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).
即使删除了该文件的所有出现(我到处找),它似乎仍然在寻找它而不是找到它。
有没有人遇到过这个?