-
Notifications
You must be signed in to change notification settings - Fork 403
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationneeds-triage
Description
Describe the bug
When I use the WinUI package, I get a larger app than using the entire winappsdk.
Steps to reproduce the bug
- Create a new WinUI app using the project template.
- Reference the latest 1.8exp2 metapackage
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.8.250515001-experimental2" /> - Compile and run the app, and notice the bin folder is about 244mb
- Replace the package reference with the WinUI specific one
<PackageReference Include="Microsoft.WindowsAppSDK.WinUI" Version="1.8.250507002-experimental" /> - Repeat step 3, but notice the output is now 355mb, even though I'm referencing less.
- Add the package
<PackageReference Include="Microsoft.WindowsAppSDK.Packages" Version="1.8.250515001-experimental2" /> - Repeat step 3, but notice the app output now is back down to 244mb. It seems like this package is somehow responsible for not deploying unnecessary stuff.
Expected behavior
App should be smallest with only the WinUI package referenced.
Screenshots
No response
NuGet package version
Windows App SDK 1.8 Experimental 2: 1.8.250515001-experimental2
Packaging type
Packaged (MSIX)
Windows version
Windows 11 version 24H2 (22621, October 2024 Update)
IDE
Visual Studio 2022
Additional context
No response
AndrewKeepCoding
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationneeds-triage