8

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?

Yaroslav Yakovlev
  • 5,652
  • 5
  • 35
  • 57

1 Answers1

8

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.

Ilya Kozhevnikov
  • 9,626
  • 4
  • 34
  • 66
  • Build tools and SDK, both installed. – Yaroslav Yakovlev Sep 17 '14 at 19:33
  • 2
    @YaroslavYakovlev You sure? I just spawned a vanilla Win2012R2x64 VM, installed TC #29879, got an incompatible agent with missing `MSBuildTools12.0_x64_Path`, then simply installed `BuildTools_Full`, restarted the agent service and voila, parameter now exists. May be your build config is set up to use the wrong agent pool? – Ilya Kozhevnikov Sep 17 '14 at 21:50
  • How do I check on this? After I installed the SDK I disabled and enabled the agent, is that sufficient, or I need to do something else to restat it? – Yaroslav Yakovlev Sep 18 '14 at 06:54
  • Yes, after agent machine reboot it worked. Thanks for the help! – Yaroslav Yakovlev Sep 18 '14 at 07:16