Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ClickOnce を使用していますが、ファイルの関連付けに苦労しています。関連付けを設定できます。関連ファイルをダブルクリックしても、アプリケーションが起動します。
...でも...
アプリを起動するためにクリックしたファイルのパスにアクセスする方法がわかりません。
誰もこれに遭遇したことがありますか?
公式の.NETの方法(レジストリなし)は、
AppDomain.CurrentDomain.SetupInformation.ActivationArguments.ActivationData
起動後。文字列です[]