We have talked multiple times on this blog about MSIX and how you can use it to package existing Win32 applications, so that you can improve the deployment and distribution of your Windows applicatio...
- removing RuntimeIdentifiers in my csproj (which you've suggested in your post)
- added SelfContained=False in my wapproj
Please provide an minimal example on github and/or an explanation on howto create a framework dependent package with net5 (with WPF and native Nuget Dependency) and WAP.
Native Dependency i depend on: https://www.nuget.org/packages/Microsoft.EntityFrameworkCore.Sqlite/5.0.1?_src=template
I've created a minimal working example: https://github.com/juwens/WpfNet5Msix/tree/main/WpfCoreApp For the sake of simplicity i created it with VS 2019, so the Wpf Proj runs with dotnet core 3.1 and wpf. It's super straight forward, open VS create WPF Proj, add Wap Proj, configure Wap to package WpfProj, disable Bundle. Nothing else, no nuget packages or any code, to keep it simple.