-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Creating a singleExe from UnPackaged app breaks the latest WindowsApp SDK
Describe the bug
Currently using the latest SDK 1.5.240428000, it fails to generate the resource.pri when creating the SingleExe. I think, it is breaking the latest SDK behavior.
If we use the SDK version 1.4.240211001, It creates the SingleExe properly with all dependency files.
It's replicate in the CustomControl library project also.
Steps to reproduce the bug
-
Open the SimpleApp project.
-
Tools->Commands->Developer Powershell. Use below command line for creating the SingleExe.
dotnet publish SimpleApp.sln -c Release -p:Platform=x64 -p:PublishSingleFile=true --self-contained true -p:WindowsAppSDKSelfContained=true
- Now, open the Bin folder and check the exe.
Note: Exe will not launch in launch SDK.
Expected behavior
It should launch the exe properly as like windows SDK (1.4.240211001).
Screenshots
In Version 1.4.240211001
In Version 1.5.240428000
NuGet package version
Windows App SDK 1.5.3: 1.5.240428000
Packaging type
Unpackaged
Windows version
Windows 11 version 22H2 (22621, 2022 Update)
IDE
Visual Studio 2022
Additional context
No response

