79401986

Date: 2025-01-31 07:03:51
Score: 1
Natty:
Report link

I was able to get the packaging working using the following two solutions:

  1. In the UWP app, I added:
<AppxBundle>Never</AppxBundle>
<GenerateAppxPackageOnBuild>false</GenerateAppxPackageOnBuild>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>

This stopped generating the separate package for UWP.

  1. For naming, I added this to the packaging project file:
<AppxPackageName>NameOfApp_$(CustomVersion)</AppxPackageName>

and then passed the custom version while calling the build script.

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Simran Nagrani