UWP Win10 xaml build error Manifest references VS2015 and 5.2.0p1

[projectname]\Package.appxmanifest : error APPX0703: Manifest references file ‘[projectname].dll’ which is not part of the payload.

The [projectname].dll file does get created by VS during a UWP solution build (Master x86 or x64) in [projectname]\bin\x86\Master\ilc.

The error doesn’t occur when running in Debug mode from VS2015 Community

The problem occurs when attempting to build a Store package. After the APPX0703 error occurs all subsequent non-Debug builds result in the APPX0703 error.

I am getting same error. Anyway to fix this issue?

Interesting. I haven’t seen this issue myself and I’m not sure how to reproduce it. Could you report a bug with repro project (both Unity and VS) and paste the case number here? Or provide detailed steps how to reproduce the bug?

I have the exact same issue. Anyone here find a solution yet? It’s easy to reproduce for me. Step 1: build with SDK Universal 10 (D3D or XAML, both cause it), Step 2: Switch to “Master” build type and attempt to Create App Packages. It chugs along for a while and then throws the error. No code associated with it, just a description “Manifest references file X.dll which is not part of the payload.” DLL is generated and in the correct folder. Very strange and frustrating.

I found a work around! Apparently this is a known issue in the new UWP code. This fixed it for me:
http://bit.ly/1VgAd0g

Where is this file so that I can edit it? It seems to happen when I added all the visual assets.

It’s going to be your .csproj.

I’m having this problem too. The solution linked says:

“To workaround this issue, add the below ItemGroup in your project file and regenerate the package.” and then has some code.

Can anyone tell me what that means? I have A LOT of experience programming, but I have no idea what adding an item group to a project file means or how one would go about doing it.

Edit .csproj file with a text editor and add the snippet mentioned in the post to it.

Does anyone have the snippet that needs to be added? Microsoft seems to have updated that page and removed it. :frowning:

a) Open [projectname][projectname].csproj
b) Add the following entry after the last

Thanks sstrong. I’m still not getting a successful build but I think it’s because my tile images are messed up. It looks like it’s getting past the dll step.