Forum Discussion

pulkitarora's avatar
pulkitarora
Copper Contributor
Feb 25, 2019

Issue with installing a bundle with resource package

I created a bundle using packaging layout as described here, and used self-signed certificate to sign the appx and appxbundle. 

In my packaging layout, I have 4 packages (1 main, 1 asset, 2 resource).

 

Now, when I try to install the generated appxbundle, I see this error (also attached a screenshot below): 

"App installation failed with error message: Merge failure for shared merged PRI file : error 0x80070002 : Cannot register the MySuite.MyApp_1.0.0.0_x64__cw6ywnn9zbvyp package because there was a merge failure with the following file: C:\Program Files\WindowsApps\MySuite.MyApp_1.0.0.0_x64__cw6ywnn9zbvyp\resources.pri (0x80070002)"

 

If I remove the resource packages from the layout, the error is not seen, so it seems like the error is due to the resource packages.

 

Version of MakeAppx used: 10.0.17763.132

OS Version: Windows 10 version 1809 (OS Build 17763.316)

 

Please guide what am I doing wrong?

 

Resources