我正在尝试在 CentOS 中构建一个 VS 项目。我通过yum install 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 解决这个问题?