团队的城市未满足的要求

团队的城市未满足的要求

本文介绍了团队的城市未满足的要求:MSBuildTools12.0_x86_Path存在的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个TeamCity的安装在X32 Server2008的Windows计算机。我已经运行在.NET 4.5的网络安装。我也复制了从我根据这篇文章的x64机器的文件,使我并不需要安装vs2012(不过,我确实有变化的路径,消除了x86的32位机器上):

I have a TeamCity install on x32 Server2008 windows machine. I've run the .net 4.5 web install. I've also copied over the files from my x64 machine based on this article so that I didn't need to install vs2012 (though, I did have the change the path to remove x86 on the 32bit machine):

MSBuild在Visual Studio 2012的解决方案的TeamCity的

MSBuild in TeamCity of Visual Studio 2012 solution

我似乎无法获得本地代理运行,我已经安装了的MSBuild在vs2012或VS2010项目的建设。我不断收到:

I can't seem to get the local agent to run the build that I've setup for msbuild on a vs2012 or vs2010 project. I keep getting:

未能满足要求:MSBuildTools12.0_x86_Path存在

Unmet requirements: MSBuildTools12.0_x86_Path exists

我已经重新启动服务器多次,并重新启动代理。我试着用路径变量有点搞乱,但不能找出我错过了什么。我已经看了以及配置参数,并能看到这些:

I've restarted the server multiple times, and restarted the agent as well. I've tried messing with the path variables a little, but can't figure out what I'm missing. I've looked as well in the Configuration Parameters, and can see these:

MSBuildTools2.0_x86_Path C:\ WINDOWS \ Microsoft.NET \框架\ V2.0.50727

MSBuildTools2.0_x86_Path C:\Windows\Microsoft.NET\Framework\v2.0.50727

MSBuildTools3.5_x86_Path C:\ WINDOWS \ Microsoft.NET \框架\器v3.5

MSBuildTools3.5_x86_Path C:\Windows\Microsoft.NET\Framework\v3.5

MSBuildTools4.0_x86_Path C:\ WINDOWS \ Microsoft.NET \框架\ v4.0.30319

MSBuildTools4.0_x86_Path C:\Windows\Microsoft.NET\Framework\v4.0.30319

我如何在那里得到12.0?

How do I get 12.0 in there?

推荐答案

我需要单独安装的MSBuild,然后重新启动后,该变量在那里的代理权。

I needed to install MSBuild separately, then after restarting the agent the variable was there.

(从MSDN文章)的MSBuild现在安装为Visual Studio的,而不是作为.NET Framework的一部分组成部分。当前的MSBuild版本号为12.0。如果要单独安装的MSBuild,MSBuild中下载安装包。

(From MSDN article)MSBuild is now installed as part of Visual Studio rather than as part of the .NET Framework. The current MSBuild version number is 12.0. If you want to install MSBuild separately, download the installation package from MSBuild Download.

编辑:答案链接被打破。这里是链接,微软构建工具2015年(最近一次直到今天):<一href="https://www.microsoft.com/en-us/download/details.aspx?id=48159">https://www.microsoft.com/en-us/download/details.aspx?id=48159

edit: the answer link was broken. Here is the link for Microsoft Build Tools 2015 (most recently until today):https://www.microsoft.com/en-us/download/details.aspx?id=48159

这篇关于团队的城市未满足的要求:MSBuildTools12.0_x86_Path存在的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-05 03:33