How to deploy SharePoint WebParts (DLL) manually

Download the Assembly DLL file from your solution
Copy assembly DLL to either
– /bin directory for a given IIS virtual server (e.g., c:\inetpub\wwwroot\bin)
– Global Assembly Cache (e.g., c:\windows\assembly)
Copy DWP file to C:\Inetpub\wwwroot\wpcatalog
Copy resources to
– For GAC-registered parts, C:\Program Files\Common Files\Microsoft Shared\web server extensions\wpresources
– For Web Parts in the /bin directory, C:\Inetpub\wwwroot\wpresources
Adjust web.config
– Register as SafeControl
– Select Code Access Security settings
Register the Assembly in GAC
– gacutil -I “”c:\pathtobindirectory\filename.dll””
Open WebPart Gallery
Click New -> Select the TreeView webpart from the list
Check it and click populate gallery
Edit the page where you want to place the webpart
Add the webpart to webpart zone
Click Edit -> Modify Shared WebPart
and configure the library name in ToolPart Pane


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s