MSIX 和多个目标框架不起作用

msix and multiple target frameworks not working

提问人:Aries 提问时间:11/15/2019 更新时间:11/15/2019 访问量:1928

问:

我有具有多个目标框架的wpf项目

<TargetFrameworks>netcoreapp3.0;net48</TargetFrameworks>

在 vs2019 中,我创建了(MSIX 包)并添加了对我的项目的引用。Windows Application Packaging Project

但是当我尝试构建打包项目时,出现以下错误:

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>

.NET .net-core visual-studio-2019 msix

评论


答: 暂无答案