我有多个目标框架的 wpf 项目
<TargetFrameworks>netcoreapp3.0;net48</TargetFrameworks>
在 vs2019 中,我创建了Windows Application Packaging Project
(MSIX 包)并添加了对我的项目的引用。
但是当我尝试构建打包项目时,我收到了这个错误:
error MSB4057: The target "GetTargetPathWithTargetPlatformMoniker" does not exist in the project.
error MSB4057: The target "GetTargetPath" does not exist in the project.
error MSB4057: The target "GetDeployableContentReferenceOutputs" does not exist in the project.
当我使用单个目标时,一切正常
<TargetFramework>netcoreapp3.0</TargetFramework>