0

I have 1 Visual Studio Solution which contains 3 different Projects. 1 for EventReceiver and 2 for UI(WebParts) projects.

I want to create single Setup file for all sothat I can deploy it on any site.

I have installed SharePoint 2010 Solution Installer also.

How can I create the Solution using this ?

1 Answer 1

0

Shahid,

For the Visual Web Parts, simply create a new folder inside your Solution Explorer and name it as per your Web Part name and then right click on folder and add Existing Item and select all the files of the Web Part, the folder will become a Visual Web Part kind of folder and you have then in single solution [single feature].

Step - 1
enter image description here

Step - 2
enter image description here

For Event Receiver, do the same - Make a new folder with the name of the Event Receiver and add Existing Item, select all files of Event Receiver:

Step - 1
enter image description here

Step - 2
enter image description here

Step - 3
enter image description here

After adding the web parts and event receiver in single solution, your feature file should look like:
enter image description here

1
  • Shahid, please mark the answer as correct/accept if that helped you! Nov 12, 2012 at 9:16

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.