Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to enable teamcity agent for Build Tools 2013

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?

like image 776
Yaroslav Yakovlev Avatar asked Sep 17 '14 15:09

Yaroslav Yakovlev


People also ask

How do I restart my TeamCity agent?

You can find the Restart Server button on the Administration | Diagnostics page in the TeamCity web UI.

How do I enable my TeamCity agent?

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).

How do I assign an agent in TeamCity?

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.

How do I authorize a build agent on TeamCity?

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.


1 Answers

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.

like image 180
Ilya Kozhevnikov Avatar answered Oct 19 '22 17:10

Ilya Kozhevnikov