error MSB4019: "C:\Microsoft.Cpp.Default.props" was not found, when building with MSBuild

Viewed 1924

I'm building an Unreal project through TeamCity and my msbuild step is failing with the following error:

error MSB4019: 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.

I have VS 2019 installed and VCTargetsPath set to:

C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\v140

I can confirm that the file does exist in the link above.

0 Answers
Related