作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我在 TFS2013 中创建自定义事件,在构建应用程序后遇到以下问题:
An error occurred while initializing a build for build definition \TestApp\TestApp.Main.CI:
Exception Message: Expression of type 'Microsoft.TeamFoundation.Build.Workflow.Activities.BuildSettings' cannot be used for return type 'Microsoft.TeamFoundation.Build.Workflow.Activities.BuildSettings' (type ArgumentException)
Exception Stack Trace: at System.Linq.Expressions.Expression.ValidateLambdaArgs(Type delegateType, Expression& body, ReadOnlyCollection`1 parameters)
at System.Linq.Expressions.Expression.LambdaTDelegate
at System.Linq.Expressions.Expression.LambdaTDelegate
at Microsoft.VisualBasic.Activities.VisualBasicHelper.CompileT
at Microsoft.VisualBasic.Activities.VisualBasicHelper.CompileT
at Microsoft.VisualBasic.Activities.VisualBasicHelper.CompileT
at Microsoft.VisualBasic.Activities.VisualBasicValue`1.CacheMetadata(CodeActivityMetadata metadata)
at System.Activities.CodeActivity`1.OnInternalCacheMetadataExceptResult(Boolean createEmptyBindings)
at System.Activities.Activity`1.OnInternalCacheMetadata(Boolean createEmptyBindings)
at System.Activities.Activity.InternalCacheMetadata(Boolean createEmptyBindings, IList`1& validationErrors)
at System.Activities.ActivityUtilities.ProcessActivity(ChildActivity childActivity, ChildActivity& nextActivity, Stack`1& activitiesRemaining, ActivityCallStack parentChain, IList`1& validationErrors, ProcessActivityTreeOptions options, ProcessActivityCallback callback)
at System.Activities.ActivityUtilities.ProcessActivityTreeCore(ChildActivity currentActivity, ActivityCallStack parentChain, ProcessActivityTreeOptions options, ProcessActivityCallback callback, IList`1& validationErrors)
at System.Activities.ActivityUtilities.CacheRootMetadata(Activity activity, LocationReferenceEnvironment hostEnvironment, ProcessActivityTreeOptions options, ProcessActivityCallback callback, IList`1& validationErrors)
at System.Activities.Validation.ActivityValidationServices.InternalActivityValidationServices.InternalValidate()
at Microsoft.TeamFoundation.Build.Workflow.WorkflowHelpers.ValidateWorkflow(Activity activity, ValidationSettings validationSettings)
at Microsoft.TeamFoundation.Build.Hosting.BuildProcessCache.LoadFromXaml(String workflowXaml, TextExpressionImports textExpressionImports)
at Microsoft.TeamFoundation.Build.Hosting.BuildControllerWorkflowManager.PrepareRequestForBuild(WorkflowManagerActivity activity, IBuildDetail build, WorkflowRequest request, IDictionary`2 dataContext)
at Microsoft.TeamFoundation.Build.Hosting.BuildWorkflowManager.TryStartWorkflow(WorkflowRequest request, WorkflowManagerActivity activity, BuildWorkflowInstance& workflowInstance, Exception& error, Boolean& syncLockTaken)
你有什么想法吗?谢谢!
最佳答案
我尝试删除自定义程序集文件夹中与 Microsoft.TeamFoundation.* 相关的所有 dll 并重新启动服务 => 它有效!
关于tfs - 'Microsoft.TeamFoundation.Build.Workflow.Activities.BuildSettings' 类型的表达式,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24176403/
我在 TFS2013 中创建自定义事件,在构建应用程序后遇到以下问题: An error occurred while initializing a build for build defin
我正在为 0.13.8 编写一个新插件,但我似乎无法弄清楚 buildSettings 之间的区别Seq 和 projectSettings序列 有人可以澄清吗? 最佳答案 来自 docs : Wit
在对我的构建模板进行了大量编辑之后(我在 2012 年重新创建了它们以避免任何问题......但后来我想我变得草率并且简单地从旧工作流程中复制/粘贴了整个 block ,我想那必须完全破坏了我的版本控
在对我的构建模板进行了大量编辑之后(我在 2012 年重新创建了它们以避免任何问题......但后来我想我变得草率并且简单地从旧工作流程中复制/粘贴了整个 block ,我想那必须完全破坏了我的版本控
我是一名优秀的程序员,十分优秀!