Unfortunately, due to a lot of bugs and restrictions, we cannot really pack packages normally. I have scripts to do this internally, but wouldn't feel like open sourcing this since I hardcode a lot of paths. However, I will provide instructions if you wish to build nuget packages yourself.
- Set the configuration as Debug x64 (yes, Debug, not Release. When building as Release, for some reasons files .xbf are not generated)
- Right Click -> Pack the project while building
- Extract* that package
- Copy everything from
lib\uap10.0.22621\to.\PackFolderTemp\lib\uap10.0.18362 - Zip the package, rename it as .nupkg instead of .zip
- Copy .csproj to a new empty directory
- Remove
<Import Project="..\Get.UI\Get.UI.projitems" Label="Shared" /> - Right Click -> Pack this project. I will call this a "dummy package"
- Extract* that dummy package
- Delete everything in
lib/ - Build the real, original
Get.UI.WinUIproject - Copy everything in
bin/Release/net6.0-windows10.0.19041.0intolib/folder - Zip the package, rename it as .nupkg instead of .zip
*Some apps like 7-Zip can extract this directly. If you have trouble finding the way to unzip, rename the file from .nupkg to .zip then extract