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 ?

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

  • Shahid, please mark the answer as correct/accept if that helped you! – Arsalan Adam Khatri Nov 12 '12 at 9:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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