问题描述
我的项目需要使用 MSbuild 14.0(visual studio 2015) 运行,但这仅需要 Visual Studio2017CommunityMSBuild15.0Binmsbuild.exe.
我已经在我的构建代理上安装了 Visual Studio community 2017、VS 2015 web 和 Desktop express.构建代理的能力-
任务配置-
这个配置给了我警告-
[警告]未找到 Visual Studio 版本14.0".回退到版本15.0".
如何将 MSBuild 14.0 与 Visual Studio 构建任务一起使用??这与 MSbuild 任务一起运行..
提前致谢..!!
由于我没有在构建代理上安装 Visual Studio 2015 Express for Desktop and Web,我不确定 Visual Studio 2015 Express for Desktop and Web 是否与构建代理兼容.
但我发现了
如果没有,构建代理将抛出该错误.
希望这会有所帮助.
My project need to be run with MSbuild 14.0(visual studio 2015) but this is taking only Visual Studio2017CommunityMSBuild15.0Binmsbuild.exe .
I have installed visual studio community 2017,VS 2015 web and Desktop express on my Build Agent.Capabilities of build agent-
Task Configuration -
This configuration giving me the warning -
[warning]Visual Studio version '14.0' not found. Falling back to version '15.0'.
How can I use MSBuild 14.0 with Visual Studio build task .?? This is running with MSbuild task..
Thanks in Advance ..!!
Since I do not install Visual Studio 2015 Express for Desktop and Web on my build agent, I am not sure whether Visual Studio 2015 Express for Desktop and Web is compatible with build agent.
But I found a thread about it, you can check the comment on the accepted answer:
So, it seems that Visual Studio 2015 Express is not compatible with build agent. you can try to install the Visual Studio community 2015 instead of it, which I can build it without any issue.
Again, you can check if there is a parameter about Visual Studio on your Capabilities of build agent when you use Visual Studio 2015 Express:
if not, build agent will throw that error.
Hope this helps.
这篇关于##[警告]未找到 Visual Studio 版本“14.0".回退到版本“15.0"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!