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

I am using Visual Studio 2010 and all my project related Visual Webparts are inside that solution and I am doing all this on UAT environment. Now I want to know how can I can build separate WSP file of each webpart and deploy on Production.

share|improve this question
up vote 1 down vote accepted

Wouldn't it be more appropriate just creating a feature per webpart instead?

But just create a new project per webpart you have.

share|improve this answer
Regarding second suggestion you mean instead of 1 project for all webparts i shud create one project for one webpart only? and I didnt get your first suggestion..can you please elaborate? – user342944 Mar 4 '13 at 10:47
Yes that is exactly what I mean. You can only have 1 WSP per project, not multiple. Thus you'd have to create 1 project for each webpart. Regarding my first suggestion; In your project you can create multiple features. By doing this, instead of creating 1 project for each webpart you just create 1 feature for each webpart. This way you keep them all under 1 project and still have the choice of activating them one by one according to your needs. – Daniel Ziga Mar 4 '13 at 14:02

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.