I would like to run Visual Studio 2017/2019/2022 as admin when I select a project from the recent list in the taskbar, ie. when opening a project via Explorer/Shell shortcuts.
I did use the setting: properties -> shortcut -> advanced -> run as admin checkbox.
Unfortunately, this does not result in devenv running as Administrator.
Any ideas on how to fix this?
On the Windows desktop, right-click the Visual Studio shortcut, and then select Properties. Select the Advanced button, and then select the Run as administrator check box. Select OK, and then select OK again.
Open Visual Studio as Administratorfrom Properties window select Advanced… from Advanced Properties check on Run as Administrator option. select Ok in Advanced Properties window, Apply and then Ok on VS 2017 Properties.
Right click your executable, go to Properties > Compatibility and check the 'Run this program as admin' box.
You can do nearly everything in the Visual Studio IDE as a normal user, but, you need administrator permissions to complete the following tasks: Installing Visual Studio. Upgrading from a trial edition of Visual Studio. Installing, updating, or removing local Help content.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With