"ClickOnce does not support the request execution level 'requireAdministrator.'" "ClickOnce does not support the request execution level 'requireAdministrator.'" wpf wpf

"ClickOnce does not support the request execution level 'requireAdministrator.'"


Edit: This comment gives a good answer, too.

Click once appears to get enabled whenever you click "Publish", whether you want it to or not! If you are using "requireAdministrator" then it appears that you cannot use ClickOnce, and therefore cannot "Publish" your project.


Original:

Turns out that under the Security tab, "Enable ClickOnce security settings" was checked. Even though I didn't check it.Anyway, unchecking that stopped ClickOnce giving me errors. That took a while to find...


I know this an old question but I came here two years later so:

You can disable the ClicKOnce from the Security tab on project properites to help the issue; see below:

enter image description here


If you ever use the publishing wizard, or 'Publish Now', the click-once checkbox gets automatically selected...