سؤال

I have a C# application and I did create a setup project for it.
The tool is working fine and also the setup but I have only one problem which is I need to run the tool as admin every time I want to run it!

هل كانت مفيدة؟

المحلول

Add app.manifest to your exe project and set following

<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top