我已经关注了如何让nunit参与TFS(云版本)的几个指南
http://walkingthestack.blogspot.sg/2013/04/using-nunit-for-your-tests-in-team.html
然而,在设置完所有内容后,我仍然收到此错误消息:
Exception Message: The path '$/Plan.Ess.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)
TF270003: Failed to copy. Ensure the source directory C:\a\bin exists and that you have the appropriate permissions.
1)$/Plan.Ess.sln
是我在构建定义中键入的内容>编辑构建定义>处理> 1.构建解决方案
2)我不确定为什么它会引用C:\ a \ bin
我不确定我是否有“Make sure that installed test discoverers & executors, platform & framework settings are appropiate and try again
”(来自第二个链接的解决方案)但是我已经将构建控制器指向包含nunit测试适配器的文件夹&的DLL
答案 0 :(得分:0)
好的,我发现了原因。我指着错误的道路。我将$/Plan.Ess.sln
替换为Plan.Ess.sln
并且有效。