Error “Manifest references file ‘MyAppName.dll’ which is not part of the payload.”


Error when building universal app width VS2015 for the store:
“Manifest references file ‘MyAppName.dll’ which is not part of the payload.”

The app compiles and can be deployed locally but “store/create package” fails with the error above.

Occurrences:  most of the time but not allways

Workaround 1

Modify PROJECT file manually and include the missing assembly:

1
2
3
<ItemGroup>
     <AppxSystemBinary Include="MyAppName.dll" />
</ItemGroup>

Workaround 2

Install UWP DevTools 1.1 (that is: Visual Studio Tools for Universal Windows Apps 14.0.23309.00) like explained here in the MSDN forum and deploy the mentioned KB to your dev machine.