Unmet requirements: MSBuildTools16.0_x86_Path exists
Hi
I am running TeamCity 2019.1.1 (build 66192) currently running in the professional mode.
We just updated from Visual Studio 2017 to Visual Studio 2019.
Now the build agent is complaining that: Unmet requirements: MSBuildTools16.0_x86_Path exists.
It does exist but the agent does not have this path defined, it does have MSBuildTools15.0_x86_Path defined
Our Visual Studio 2019 builds using devenv.exe are working just fine.
Please help. I have reviewed the current issues, found some with similar problems but nothing that fixes my problem.
The Team City GUI allows me to pick the Microsoft Build Tools 2019 and version 16.0. etc. But the agent does not know how to find it. So it says it is not compatible with this configuration.
Thanks
Tim
Please sign in to leave a comment.
Hi Tcw321,
have you restarted agents after you've updated Visual Studio?
Hi Nadia
I did not restart the agent. I did look for a way to restart an agent from the GUI but could not find any. After I saw your comment, I looked it up and found the command line scripts to restart the agent. Once I did that, the agent did recognize the new msbuild. The problem is solved.
Thanks!
Tim
Hi,
I am currently getting this issue. How can I restart my build agent?
Thanks,
Francis
How you restart your build agent will depend on a couple of things, Operating System and whether or not you're running as a service. Please see our documentation on starting Build Agents: https://www.jetbrains.com/help/teamcity/setting-up-and-running-additional-build-agents.html#SettingupandRunningAdditionalBuildAgents-StartingtheBuildAgent