Visual Studio Build Tools 2017 fail with Could not locate master pkgdef file for AppId
Hello TeamCity
I'm getting following error when i try to build projekt using Visual Studio Build Tools 20017:
- "Could not locate master pkgdef file for AppId C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE\devenv.exe"
- "LocateMasterPkgDefFromExe failed for app executable path 'C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE\devenv.exe'"
I have following installed on the TeamCity build server:
- Visual Studio 2017 (Full package)
- Visual Studio Build Tools 20017
Can anyone tell me why I'm getting the mentioned error or what i'm missing.
Thanks in advance.
Regards
Bala
Please sign in to leave a comment.
Could you build your project from the command line (on the same machine that TeamCity agent is installed on and under the same user). Will you have the same results? Also try running Visual Studio 2017 under the same user, open your project and make a build
Hi
Thanks for the response..
I have solved the problem by installing the lasted VS update 15.4.1.