Ari*_*ies 7 .net .net-core msix visual-studio-2019
我有多个目标框架的 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.
Run Code Online (Sandbox Code Playgroud)
当我使用单个目标时一切正常
<TargetFramework>netcoreapp3.0</TargetFramework>