From how-to-set-up-global-include-path-for-c.html
See suggested alternatives in the solution contained in the above link.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I recently replaced a computer.
On the new computer, none of my Visual Studio projects will load (they are all C++).
I receive the following error message:
error : Project "" does not contain any configuration.
The lack of useful information in the error message is quite lame.
I suspect that the problem may be related to my use of the following files:
Microsoft.Cpp.Win32.user.props
Microsoft.Cpp.x64.user.props
These files are critical (and, indirectly, provide the needed configurations).
The latest version of Visual Studio 2019 (on the new computer) does not create those files.
This does not seem to occur on my new computer.
On my “old” computer, they exist in
C:\Users\Me\AppData\Local\Microsoft\MSBuild\v4.0
That directory did not even exist on the new computer - so I created it, and put the above 2 .props files there.
I also copied them to :
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160
[Where many other .props files exist.]
I read an online post that stated that, although Visual Studio no longer creates those files, it will use them, if they exist.
However, I suspect that they are not being used on my new computer.
That is:
On my old computer, 64 bit builds automatically import Microsoft.Cpp.x64.user.props, and 32 bit builds automatically import Microsoft.Cpp.Win32.user.props. Apparently, this does not occur on my new computer.
Again, it is absurdly lame that Visual Studio does not provide details regarding failure to load a project.
So, my question is, how do I handle this?
Basically, how do I get the functionality that I previously obtained via those two .props files?
Thanks in advance
From how-to-set-up-global-include-path-for-c.html
See suggested alternatives in the solution contained in the above link.