Reputation: 4817
I recently upgraded Visual Studio to 15.6.3 and TeamCity to 2017.2.3. I'm not sure which app is to blame, but I can no longer run builds locally because of "Unmet requirements: VS2017 exists"
I don't know how to solve this, as Visual Studio does exist on my machine. What can I check to figure out why this is happening or to fix the problem?
Edit: I fortunately have another computer which still had an older version of Visual Studio installed (version 15.3.5). I updated to the latest TeamCity on this machine, transferred my backup file, and the build seems to be working perfectly - it seems to be somehow caused by the latest version of Visual Studio.
Upvotes: 1
Views: 1934
Reputation: 4817
The other responses helped me track it down, but I thought I'd provide a step-by-step in case anyone else runs into this problem.
First, I had to find the location of my buildAgent.properties file:
I opened this file in a text editor and added the following:
VS2017=15.6.3
VS2017_Path="C\:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\Common7\\IDE\\devenv.exe"
I then restarted the team city server and build agent services and everything worked fine!
Upvotes: 4
Reputation: 4140
This looks like you have custom Agent Requirements on your Build Configuration. Check what you have in here:
Upvotes: 1