Uninstall Webpart that uses dll referenced by another Webpart?

Jun 15, 2009 at 8:17 AM

Hi all there,

i have an important issue that i couldn´t find anything about. i created 2 webparts with wspbuilder. both of them use a third party dll, for instance AjaxControlToolkit.dll. Both Webparts store them in their GAC folder, both of them are easy to install and work fine - but as soon as i uninstall just ONE of them, AjaxControlToolkit.dll is also being deleted, so the other webpart is not working any more.

any solutions to solve this?



Philipp Wintersberger


Jun 23, 2009 at 6:08 AM

Hi Philipp,

Unfortunately SharePoint's Solution Management is pretty flawed in many areas including this one.

At Muhimbi we have a need to share common libraries, both 1st party and 3rd party, between different products. We have developed a strategy to achieve this and described it in our free SharePoint development guidelines (Chapters 8 and 9).

You can download it at http://www.muhimbi.com/blog/2009/05/muhimbis-sharepoint-development.html


Jeroen Ritmeijer