在 Teamcity 上构建失败

ailimcc666

试图在 Teamcity 上建立一个构建,以前从未这样做过,所以我不知道我在做什么。它失败并出现以下错误:

C:\Program Files\dotnet\sdk\2.1.4\Microsoft.Common.CurrentVersion.targets(2659,5): error MSB4062: The "Microsoft.Build.Tasks.ResolveComReference" task could not be loaded from the assembly Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.  Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask.

有人可以帮我解决这个问题吗?这是什么意思,我该如何解决?

非尼西

我想,您正在使用不支持此目标的 .net core build 命令。是一个解决方法,或者只使用 MSBuild for VS2017。这是有关该问题的相关主题:https : //github.com/dotnet/cli/issues/9558

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章