SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What privileges should be set up to connect with the Visual Studio with Production Enviroment. Now I'm writing my code at SharePoint Foundation, but after it I want to migrate all to the production enviroment.

share|improve this question
up vote 5 down vote accepted

You're not supposed to deploy straight from Visual Studio to the production environment.

The proper way of working (AFAIK) would be to build packages in your development environment, then deploy the .wsp files on the production environment using PowerShell. In the case of sandboxed solutions, you can do it with the SharePoint UI instead.

share|improve this answer

As far as I know you can only remotely deploy Sandboxed solutions if you use Visual Studio 2012.
For Farm solutions you would have to publish a WSP file and manually add this to your production environment either by using PowerShell or Central Admin.
Apps for 2013 can also be remotely deployed.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.