今天我按照NDepend文档使用构建过程模板运行构建,我添加了程序集并使用了提供的部署工具。
但是当我把它运行时它失败了:
Exception Message: Value cannot be null.
Parameter name: path1 (type ArgumentNullException)
Exception Stack Trace: at System.IO.Path.Combine(String path1, String path2)
at NDepend.TFS.Activities.Helpers.NDependAssembliesResolver..ctor(String ndependInstallPath)
at lambda_method(Closure , ActivityContext )
at System.Activities.Runtime.ActivityExecutor.ExecuteInResolutionContextT
at System.Activities.InArgument`1.TryPopulateValue(LocationEnvironment targetEnvironment, ActivityInstance activityInstance, ActivityExecutor executor)
at System.Activities.ActivityInstance.InternalTryPopulateArgumentValueOrScheduleExpression(RuntimeArgument argument, Int32 nextArgumentIndex, ActivityExecutor executor, IDictionary`2 argumentValueOverrides, Location resultLocation, Boolean isDynamicUpdate)
at System.Activities.ActivityInstance.ResolveArguments(ActivityExecutor executor, IDictionary`2 argumentValueOverrides, Location resultLocation, Int32 startIndex)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
The workflow instance has been canceled. (Reason: The activity 'Try to run NDepend process' with ID 20434 threw or propagated an exception while being canceled.)
我想帮助弄清楚它可能出现的问题。