Im trying to make a build of asp.net mvc 4 application on my teamcity server.
The server is Windows Server 2012 R2. with 64bit OS.
Teamcity version is 8.1 (build 29879).
If I set MSBuild version to MSBuild Tools 2013 agent is incompatible.
The reason is: Unmet requirements: MSBuildTools12.0_x64_Path exists
I made sure I install .net sdk, and as its a Windows Server 2012, .net 4.5 is already
installed there (4.5.2 in my case). What should I do to make it work?
You can find the Restart Server button on the Administration | Diagnostics page in the TeamCity web UI.
Agents can be manually enabled/disabled via the web UI by clicking the status icon (1) next to the agent's name. Optionally, you can tell TeamCity to automatically disable/enable the agent after a period of time and enter your comment. TeamCity will follow the instructions and show the comment icon (2).
Click Administration and select the desired build configuration. Click Agent Requirements (see Configuring Agent Requirements). Click the Add requirement for a property link, type the agent.name property, set its condition to equals and specify the build agent's name.
If a build agent is installed and running on the same computer as the TeamCity build server, it is authorized automatically. Agents are manually enabled/disabled via the web UI. The TeamCity server only distributes builds to agents that are enabled.
Have you installed the Build Tools? They no longer come with the .NET framework, part of Windows or not, but with the Studio or as a standalone installer. Don't forget to restart afterwards.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With