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.
Click on Advanced tab in Package.
Click on Add button and Add Existing Assembly.
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.
This will add dll into globel assembly cache do your job for you. Thank you.
No comments:
Post a Comment