Does anyone know if you can do this by default rather than having to use context menu?
Yes, right click on your visual studio.exe -> property, go to ‘Compatibility’ tab, check “Run this program as administrator”, click ok to save.
Detailed step by step guide here.
Create a shortcut, go to its’ Properties, click Compatibility tab, under Privilege Level, check ‘Run this program as an Administrator’.
Now, everytime you double click the shortuct, it’ll run as an Admin.
VS itself does not provide this option, but you can modify the respective shortcut to always run the program as a certain user.
No doubt there is. There are also ways you can run all your programs as
root under Linux. I still wouldn’t actually do that since it’s a bad idea. The first dodgy plug-in you install will zombify your system.