VS Buildtools 2026 detection fails
Hi!
With the latest 2026.2 update installed yesterday, all projects that use the "MS Buildtools 2026" don't meet the following requirement anymore: "Exists=>MSBuildTools18\.0_.+_Path". I'm using the latest VS 2026 version 18.10.0.
As a workaround I added the following to the "buildAgent.properties" file. The build steps requirements still show an exclamation mark, however the agent is not shown as incompatible anymore and the build is running again.
MSBuildTools18.0_x64_Path=C:\\Program Files\\Microsoft Visual Studio\\18\\Enterprise\\MSBuild\\Current\\Bin\\amd64
MSBuildTools18.0_x86_Path=C:\\Program Files\\Microsoft Visual Studio\\18\\Enterprise\\MSBuild\\Current\\Bin
I can't see anything else I could fix on my side and suppose it must be a TeamCity issue as it worked fine before the latest update. Thank you for looking into this.
(uploadId: 2026_09_11_joZtWyGKSsj8i6XuWea2XC), issue at: 2026-09-10 16:01:00
Please sign in to leave a comment.
Think I am also seeing this on one of my agents. In the agent properties, it's showing:
MSBuildTools0.0_x64_Path C:\Program Files (x86)\Microsoft Visual Studio\2026\BuildTools\MSBuild\Current\Bin\amd64
MSBuildTools0.0_x86_Path C:\Program Files (x86)\Microsoft Visual Studio\2026\BuildTools\MSBuild\Current\Bin
Version 0.0?
this is TeamCity Enterprise 2026.1.4 Build 222865
Found this: Visual Studio Build Tools 2026 September update : MSBuildTools not detected : TW-104025
Contains a workaround, which fixed it for me,
Thanks for the info, didn't see that one and now it's clear, that the cause is the VS2026 update I also did yesterday.