I am trying to package a UWP application with a desktop extension as full trust process. For this, I have to use a separate packaging application for creating msixupload for store distribution and appxbundle for side loading.
My problem is that when I try to build using msbuild,
Multiple msixupload files are being built- One for uwp and one for the entire package. I want only one to be built for the entire package.
I want the name of the package to be of the UWP project to maintain consistency with what we had earlier.
I have removed all appx bundle related properties from vcxproj of UWP file except the package manifest file.
I tried setting Appxbundle property as Never in the UWP vcxproj as well.
I was able to get the packaging working using the following two solutions:
<AppxBundle>Never</AppxBundle>
<GenerateAppxPackageOnBuild>false</GenerateAppxPackageOnBuild>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
This stopped generating the separate package for UWP.
<AppxPackageName>NameOfApp_$(CustomVersion)</AppxPackageName>
and then passed the custom version while calling the build script.