Skip to content
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

[Bug] Inbuild MsBuild macro not recognized #32

Closed
JKamsker opened this issue Oct 28, 2020 · 1 comment
Closed

[Bug] Inbuild MsBuild macro not recognized #32

JKamsker opened this issue Oct 28, 2020 · 1 comment

Comments

@JKamsker
Copy link

JKamsker commented Oct 28, 2020

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 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?

@3F
Copy link
Owner

3F commented Oct 28, 2020

Hello @JKamsker

This is duplicate of #1 and it will be completely resolved only after #23 ( IeXod 0.1 beta is already rolled out )

Before planned 3.0 please consider the following solutions for 2.x

hope you are well!

Thank you! I am in the progress... hope so o_o

Let me know if you still have the problems, I can try something
https://twitter.com/GitHub3F/status/1320425255291265026

Thanks for using,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants