Sunday, October 5, 2014

Deploy External user control through SharePoint Solution

Today’s topic actually nothing to do with SharePoint. This topic is same for Asp.Net and .Net applications. But I'm going to do it in SharePoint solution.

First Create SharePoint Solution in visual studio.  Open project package.

Capture11

Click on Advanced tab in Package.

Capture12

Click on Add button and Add Existing Assembly.

Capture13

Select the user control from the browse button. Select deployment target as GlobelAssemblyCache.

Add new item in SafeControls section. Fill namespace and Assembly name. Tick on Safe option.

Capture14

This will add dll into globel assembly cache do your job for you. Thank you.

No comments:

Post a Comment