Describe the bug
From my observations EnableMsixTooling is responsible for renaming the pri file from [ProjectName].pri to resources.pri. If EnableMsixTooling is ommited because it is not needed for unpackaged applictations and such an application is then published from the Visual Studio wizard, the [ProjectName].pri file is not copied to the publish directory.
Steps to reproduce the bug
- Create a new application
- Set
<WindowsPackageType>None</WindowsPackageType>
- Remove
EnableMsixTooling
- Publish the application with the Visual Studio wizard
Expected behavior
The pri-resource-file should be copied in every possible case, as not copying it produces a non runnable crashing output.
Screenshots
No response
NuGet package version
Windows App SDK 1.3.2: 1.3.230602002
Packaging type
Unpackaged
Windows version
Windows 10 version 22H2 (19045, 2022 Update)
IDE
Visual Studio 2022
Additional context
No response