Visual Studio needs to be run with Administrator privileges in order to interact with SharePoint. i.e to deploy features.
If you aren’t running with administrator privileges you get the following error message:
With the following message in the output console:
“To interact with SharePoint projects in Visual Studio, your system user account must have administrator privileges.”
In order to avoid this you can get Visual Studio to open up by default with administrator privileges:
Step 1
Right click on the Visual Studio shortcut icon and choose properties
STEP 2
Click on Advanced
STEP 3
Select Run as administrator then click OK
This comment has been removed by the author.
ReplyDeleteHi, i tried but error return. I used vs 2012, sp 2010. window server 2008 R2.
ReplyDeleteI use domain account and i add my user to Administrator Group but not run!
Add the user to the "Enterprise Admins" in Active Directory - that's what worked for me. Adding the user to just the Domain Admins group wasn't enough.
ReplyDelete