Machine 1: Virtual Development box with Visual Studio 2010, SharePoint 2010 Foundations, Designer 2010.

Machine 2: SharePoint 2010 Enterprise (Staging Environment)

Question: Does Machine 2 need to have Visual Studio 2010 installed if I want to deploy features/solutions from Machine 1?


2 Answers 2


No, you can install your .wsp's with PowerShell cmdlets:

Add-SPSolution http://technet.microsoft.com/en-us/library/ff607552.aspx

Install-SPSolution http://technet.microsoft.com/en-us/library/ff607534.aspx

  • Thanks for the quick reply. To further my understanding though, if I really want to deploy from Visual Studio, do I then need to have it on both machines?
    – Sean
    Jul 10, 2012 at 16:08
  • 1
    yes, but don't do that. Visual Studio is not deploying the solutions exactly as a good script will do. You won't be able to ensure it will works the same.
    – Steve B
    Jul 10, 2012 at 16:17
  • This is a common scenario at our company. We do all development on a dev box, deploy to a staging environment via PowerShell and test, rework any issues we come into, and then deploy to production (again via PowerShell). Jul 10, 2012 at 16:30
  • That's how I am planning to do it now. I am in the infancy of SP2010 research and development at present. Thanks again!
    – Sean
    Jul 10, 2012 at 17:34

In addition to @rjcup3 answer,

Other options:

  • Install VS 2012. With VS 2012, you can remote publish without needing to install VS on Machine 2 or manually publishing your wsp package to Machine 2. That means, install VS 2012 on Machine 1, create your package, deploy your package to Machine 2.

    Reference: SharePoint Developer Team Blog

  • Check out this blog. But, I have not personally used it.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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