Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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
add comment

1 Answer 1

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
add comment

Your Answer

 
discard

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.