我正在尝试在CentOS上构建一个VS项目。通过yum install dotnet-sdk-2.2
安装了dotnet-sdk-2.2。
执行dotnet msbuild myproj.vcxproj
时,我收到以下错误:
Microsoft (R) Build Engine version 16.1.76+g14b0a930a7 for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.
mtproj.vcxproj(19,3): error MSB4019: The imported project "/Microsoft.Cpp.Default.props"
was not found. Confirm that the path in the <Import> declaration is correct, and that the
file exists on disk.
在谷歌搜索到很多解决方案,但都是针对Windows的。我该怎么做才能在Linux/CentOS上解决这个问题?