07 June, 2009 · less than a minute to read
Easily add a dll to the GAC
Sometimes you need to quickly add a dll to the Global Assembly Cache (GAC) - usually when you need it to run with full trust rather than limited trust in an ASP.net or SharePoint setting. The quickest way to do this from any computer is just to drag and drop the assembly onto c:\windows\assembly which will automatically install it in there. You'll need to do this from two instances of Windows Explorer for some reason. Open one at c:\windows\assembly, then find the dll in another one and drag and drop it. You'll need to restart IIS (iisreset at the command line) if it's for ASP.net or SharePoint. If the assembly is already in there you'll need to delete it first - right-click and Uninstall or highlight and press delete, as it won't automatically overwrite an existing one.
Managing Director / Founder
Richard started SalamanderSoft in 2007 after a successful career as a software developer. Wanting to start his own company and with experience in integrating school systems he set out to build the best integration system for schools and to exceed customer expectations. He starting out on his own, doing all the coding, support and sales until finally the growing number of customers meant he needed to start growing the team. He is still heavily involved in coding the core Integration Suite product in addition to running the company and being the first point of contact for prospective customers.