Win2D is an easy-to-use Windows Runtime API for immediate mode 2D graphics rendering with GPU acceleration. It is available to C#, C++ and VB developers writing apps for the Windows Universal Platform (UWP). It utilizes the power of Direct2D, and integrates seamlessly with XAML and CoreWindow.
I see you have done that already, but you also still have the targets files in the net5 and netcoreapp folders. With those platforms, nuget will take care of all the things and automatically import the correct things. In fact, it also will support publishing your app for all the CPUs, and then pick the correct one from the local bin directory on any arch.
NuGet supports automatically including native libraries if you place them in the:
Sort of done here in WASDK: https://github.com/microsoft/WindowsAppSDK/pull/1592
I see you have done that already, but you also still have the targets files in the net5 and netcoreapp folders. With those platforms, nuget will take care of all the things and automatically import the correct things. In fact, it also will support publishing your app for all the CPUs, and then pick the correct one from the local bin directory on any arch.