microsoft / MSIX-PackageSupportFramework

The Package Support Framework (PSF) is a kit for applying compatibility fixes to packaged desktop applications.
MIT License
115 stars 57 forks source link

Add PSF to .netcore 3.1 MSIX packaging through Visual Studio #189

Open relief12 opened 2 years ago

relief12 commented 2 years ago

I have a .netcore 3.1 WPF app and I'm using a MSIX packaging project through visual studio for distribution. Is it possible to add PSF to a .netcore 3.1 app?. Basically what I'm trying to do is, I want the MSIX installer to add a desktop shortcut automatically after the installation is done. This is the approach I'm following: https://docs.microsoft.com/en-us/windows/msix/psf/create-shortcut-with-script-package-support-framework

I also found this guide on how to add PSF to visual studio: https://docs.microsoft.com/en-us/windows/msix/psf/package-support-framework-vs. It uses a c++ project to run a .dll, but I think that's only compatible with .net framework and it's not compatible with .netcore. Can anyone please help me?