問題タブ [http-protocols]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
c# - UWP アプリで Windows からすべての http リンクを開く
Windows でクリックされたすべての http/https プロトコル リンクを開く UWP アプリを作成しています。つまり、デフォルト ブラウザと同じように動作します。
以下を使用して、http/https プロトコルに関連付けました
および起動を処理するメソッドprotected override void OnActivated(IActivatedEventArgs args)
アプリはうまくコンパイルされます。アプリをデフォルトのオープナーとして設定し、システムからのリンクまたはシステムhttp
からのリンクを開こうとすると、アプリはWin + R
File system error (-2147219196)
それで、私は今何をすべきですか?