https://stackoverflow.com/questions/9654833/how-to-run-visual-studio-as-administrator-by-default
Windows 8, 8.1 and 10
In Windows 8, you have to right-click devenv.exe and select "Troubleshoot compatibility".
-
select "Troubleshoot program"
-
check "The program requires additional permissions" click "Next", click "Test the program..."
-
wait for the program to launch
-
click "Next"
-
select "Yes, save these settings for this program"
-
click "Close"
Update Refrence orginal Link