microsoft / WindowsAppSDK

The Windows App SDK empowers all Windows desktop apps with modern Windows UI, APIs, and platform features, including back-compat support, shipped via NuGet.
https://docs.microsoft.com/windows/apps/windows-app-sdk/
MIT License
3.85k stars 328 forks source link

Microsoft.WindowsApp.Foundation nupkg "runtimes" layout alignment with nuget conventions for Bootstrapper #1232

Open AdamBraden opened 3 years ago

AdamBraden commented 3 years ago

Describe the bug

The 1.0-experimental release includes support for binplacing the native bootstrapper dll, Microsoft.WindowsAppSDK.Bootstrap.dll, however the current layout of the package does not follow nuget conventions, and thus the props/targets are doing additional work.

layout should follow: runtimes{rids}

See the following for how nuget supports runtimes lookup: https://github.com/NuGet/NuGet.Client/blob/dev/src/NuGet.Core/NuGet.Packaging/ContentModel/ManagedCodeConventions.cs

Version Info Windows App SDK 1.0.0-experimental1 Any supported Windows version, repro'd on Windows 11 (10.0.22000)

NuGet package version: Specifically in the foundation nuget: microsoft.windowsappsdk.foundation\1.0.0-experimental1

AdamBraden commented 3 years ago

related to #1217