我遵循了一些关于如何让 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 的文件夹