VS Tools for Universal Windows Apps 1.1 无法再创建应用程序包

VS Tools for Universal Windows Apps 1.1 can't create app package anymore

我将 VS20154 升级到 Visual Studio 通用 Windows 应用程序工具。本地构建在调试配置中工作正常。但是当我尝试创建应用程序包时出现此错误:

严重性代码描述项目文件行

Manifest references file 'MoneyManager.Windows.dll' which is not part of the payload.   MoneyManager.Windows    C:\Users\ninop\Documents\GitHub\MoneyManager\Src\MoneyManager.Windows\Package.appxmanifest  

有人知道如何解决这个问题吗?

谢谢 NPadrutt

MSDN 论坛上似乎有答案:

To workaround this issue, add the below ItemGroup in your project file and regenerate the package.

<ItemGroup> <AppxSystemBinary Include="<Assembly Mentioned in the error>" /> </ItemGroup>

For example, if the assembly name is App1.dll, include:

<ItemGroup> <AppxSystemBinary Include="App1.dll" /> </ItemGroup>

发件人:https://social.msdn.microsoft.com/Forums/en-US/73f2d56d-9e8e-4b57-bcfa-0a972dfd75d7/update-11-generating-store-associated-package-fails-for-a-uwp-application-with-a-winrt-component?forum=Win10SDKToolsIssues