You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When loading an sln with new Sln(@"C:\Users\JK\source\repos\path\to\my.sln", SlnItems.All & ~SlnItems.ProjectDependencies)
Following error occurs: Microsoft.Build.Exceptions.InvalidProjectFileException: 'The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the expression in the Import declaration "\Microsoft.Cpp.Default.props" is correct, and that the file exists on disk. C:\Users\JK\source\repos\path\to\Client\Client.vcxproj'
I think its following statement, which is responsible in the vcxproj: <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
In vs, VCTargetsPath resolves to C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\VC\v160\ and not C:\
Is there any way for me to fix that issue or is it really a bug?
The text was updated successfully, but these errors were encountered:
Hey,
hope you are well!
When loading an sln with
new Sln(@"C:\Users\JK\source\repos\path\to\my.sln", SlnItems.All & ~SlnItems.ProjectDependencies)
Following error occurs:
Microsoft.Build.Exceptions.InvalidProjectFileException: 'The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the expression in the Import declaration "\Microsoft.Cpp.Default.props" is correct, and that the file exists on disk. C:\Users\JK\source\repos\path\to\Client\Client.vcxproj'
I think its following statement, which is responsible in the vcxproj:
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
In vs,
VCTargetsPath
resolves toC:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\VC\v160\
and notC:\
Is there any way for me to fix that issue or is it really a bug?
The text was updated successfully, but these errors were encountered: