-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VCTargetsPath not set, cannot resolve Projectfile #6013
Comments
Team Triage: We'll need more information to help you on this:
It looks like
|
MSBuild Version:
|
I'm not sure if the underlying cause is the same, but I made a C++ console app, then created a makefile project that was supposed to call it via |
Team Triage: We're guessing you have multiple instances of VS installed, |
Hi,
I've tried to read properties of a C++ Project to evaluate the sdk paths that are used in this project. The first issue I encountered was that the environment variable VCTargetsPath wasn't set so the .cpp.props and .cpp.targets files couldn't be resolved which resulted in an exception. I fixed this by setting the environment variable temporarily by code but doesn't seem to me like clean code so I search for a better way to do this but didn't find one so is there a better way to solve this?
The text was updated successfully, but these errors were encountered: