-
-
Couldn't load subscription status.
- Fork 6
Closed
Labels
Milestone
Description
We need to provide some priorities in search result when user's machine contains 2 or more VS2017+ installed instances with different components.
The basic example is for C++ projects and several versions of installed VS2017:
- The one of these contains only - [.NET desktop development]
- Other, only - [Desktop development with C++]
~
C:\Program Files (x86)\VS\2017\Professional\MSbuild\
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\
Current version may return path for what is not needed:
error MSB4019:
The imported project "C:\Program Files (x86)\VS\2017\Professional\Common7\IDE\VC\VCTargets\Microsoft.Cpp.Default.props" was not found.
Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
So we need to specify some priorities for searching via IDs.
The priority means only trying with these in first attempts. But, I think also about -force key for more strong behaviour.