My app uses ClickOnce tehcnology. Today I needed to run it as administrator. I modified the manifest file from
My app accesses the registry and as such, requires administrator permissions so my project properties / security tab is set for full rights. I deploy my clickonce app to a network drive. I can only run the ClickOnce "setup.exe" as administrator to install my app. However, I'm unable to run my app after it's installed. I cannot run my app as administrator, but I can go back to the setup.exe and run as administrator again which will run my app since it is already installed. Going through the Win 10 Compatibility wizard to set my app to always run with elevated permissions doesn't work. I don't like telling my users they have to always right click and run the setup.exe as administrator from the network drive. In the end, I don't "deploy" the clickonce app. I just build to a network drive and my users run my app's exe. They're then able to use the compatibility wizard to execute as admin all the time.