C
C#2y ago
Yavuz

C# ClickOnce does not support the request execution level 'requireAdministrator.' error when publish

Hi,I get this error while I try to publish my project.Click Once automaticly turn on when I click on publish now.pls help.(my project request "run ass adminstor")
15 Replies
Buddy
Buddy2y ago
Translate the error Please.
Yavuz
YavuzOP2y ago
here is:ClickOnce does not support the request execution level 'requireAdministrator.'
Florian Voß
Florian Voß2y ago
have you tried to uncheck this box here?
Yavuz
YavuzOP2y ago
Yes but as at video,its turn on automaticly
Florian Voß
Florian Voß2y ago
so your change didn't get applied for some reason Maybe you gotta reload ? dunno
Yavuz
YavuzOP2y ago
ı do it but still saem same
Florian Voß
Florian Voß2y ago
Why do you need level requireAdministrator tho? isn't asInvoker enough?
Yavuz
YavuzOP2y ago
no,while its try to write somethings to txt file,ı got "access dennied"
Florian Voß
Florian Voß2y ago
tried checking this is a full trust application ?
Yavuz
YavuzOP2y ago
yes,its same
Florian Voß
Florian Voß2y ago
mhmm sadly I don't really have experience with all this, I wish I could play around with it myself 😄
Yavuz
YavuzOP2y ago
thanks for try to thankuwu
sibber
sibber2y ago
id use squirrel instead of click once
Yavuz
YavuzOP2y ago
semi-solved:when ı write text into programdata,it doesn't need run as adminstor.and now published with clickonce but ı still dont know why its still get on
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server