Cannot Publish If RequireAdministrator is Set
I am attempting to publish a project of mine in Visual C# 2010 Express
Edition. This is what an excerpt of my manifest file looks like-
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
I need to have this set, as my program is editing the registry. So when I
go to publish it, I get an error saying that "ClickOnce doesn't support
the request execution level of requireAdministrator". So I disable
ClickOnce under the Security tab and then go to publish it again, but I
get the same error. I go and check the Security tab and sure enough,
ClickOnce is enabled- even though I disabled it. It appears that every
time you attempt to publish a project, it's enabled. Is there any way to
publish my project and have the executionlevel of requireAdministrator
enabled? Thanks, help is appreciated.
No comments:
Post a Comment