“ClickOnce does not support” visual studio Bug?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP



“ClickOnce does not support” visual studio Bug?



I want to publish my C# app, but I got the error "ClickOnce does not support the request execution level 'requireAdministrator.'”.


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



Then I tried to uncheck "Enable ClickOnce security settings" like this answer.



but when I click "Publish" the "Enable Clickonce Security Settings" re-enables, like this un answerd question



Therefore I can't cancel the error "ClickOnce does not support the request execution level 'requireAdministrator.'”


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





Possible duplicate of "ClickOnce does not support the request execution level 'requireAdministrator.'"
– gravitymixes
Aug 8 at 18:33





The answer, by Brian (and duplicated below) in that original question was the same thing you could have tried here. (See asInvoker notation)
– gravitymixes
Aug 8 at 18:39


asInvoker




1 Answer
1



You have an 'app.manifest' that sets this. Open it make sure it contains:


<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
</requestedPrivileges>





Wow, it works like magic, up vote for this guy
– Flufy
Aug 8 at 18:38






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Firebase Auth - with Email and Password - Check user already registered

Dynamically update html content plain JS

Creating a leaderboard in HTML/JS