dotnet-vcxproj
dotnet-vcxproj copied to clipboard
error MSB4019 while building
sorry for this question, I'm noob at C++. I get this error when building any one of examples error MSB4019: The imported project "/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.
I have the exact same problem.
Did you find a solution ?
I think that the file path is absolute in our case, and is trying to find the file in "/"
In fact, I copied the created file Microsoft.Cpp.Default.props from the project folder to "/" and passed that error
but new one arised: The imported project "/Microsoft.Cpp.targets" was not found. Confirm that the expression in the Import declaration "/Microsoft.Cpp.targets" is correct, and that the file exists on disk.
But I dont have that file
I have the same problem. Any solutions?
Give me more details what you are doing