Click here to Skip to main content
15,890,741 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Good Day,

Using VS2013

I have created a file association in registry for my application to allow users to double click saved files to automatically open it within application.

When application is published (via clickOnce) and installed on machine there is no exception when application starts up and saved files can be opened without issues within application.

When application is closed and a associated file is double clicked and the application starts up an exception is thrown "Application identity is not set". After Exception is acknowledge the application functions normally except for application deployment class items.

I am at a loss any help would be appreciated.

What I have tried:

One article with a different scenario but same exception recommended to check if the application is not network deployed.
I used code below and the application is NOT network deployed.
System.Deployment.Application.ApplicationDeployment.IsNetworkDeployed
Posted
Updated 9-Jan-18 8:36am

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900