I have a WPF application and I'm making a UWP app using the desktop bridge. Basically I created a new Windows App Packaging Project and I added to it my WPF project as a reference. I added a Protocol declaration in the app manifest with a custom URI, but I can't implement/override the OnActivated()
method, because I have no classes where to do it and it isn't even possible to add classes to this type of project. So, any ideas how can I handle my custom URI calls in this environment?
I already create another UWP project, which just handles these requests and I also added this project to the main packaging project as a reference. Basically it's working, but if I create the app package and I install it (the appxbundle), then the URI handler won't be called at all.