Last Updated: October 04, 2019
· kusold

Always launch Visual Studio as Administrator

When developing for Sharepoint, in order to deploy you need to run Visual Studio in Administrator mode. To make this the default behaivor:

  1. Right click on the shortcut (works from the start menu too)
  2. Switch to the compatibility tab
  3. Click Change settings for all users Picture
  4. Select Run this program as an administrator Picture
  5. Ok
  6. Ok

And you are done.

EDIT: In order to launch VS as Admin when opening solutions in Windows Explorer, please see Wimbo's comment.

2 Responses
Add your response

I'll add that this is useful for Azure development as well. (At least the last time I played with that SDK)

over 1 year ago ·

Thanks @Wimbo. I rarely launch solutions from Windows Explorer so I wasn't aware of this.

over 1 year ago ·