I am making a UWP app which opens all the http/https protocol links clicked in the Windows. In short it's acts same as a Default Browser.
I used the following to associate with http/https protocols
<Extensions>
<uap:Extension Category="windows.protocol">
<uap:Protocol Name="http">
<uap:DisplayName>httpUWP</uap:DisplayName>
</uap:Protocol>
</uap:Extension>
<uap:Extension Category="windows.protocol">
<uap:Protocol Name="https">
<uap:DisplayName>HttpUWP</uap:DisplayName>
</uap:Protocol>
</uap:Extension>
</Extensions>
and a method to handle the launch protected override void OnActivated(IActivatedEventArgs args)
The App compiles good. I set my app as default opener for http
and When I try to open a link from Win + R
or somewhere from system, The app gives out a File system error (-2147219196)
So, What am I supposed to do now?