I’ve been fighting a bit with visual studio 2010 on a an sp2010 solution and was getting this error:
Error occurred in deployment step ‘Add Solution’: Error: Cannot add the specified assembly to the global assembly cache: YourAwesomeDLLThat IAmJustNotGoingToInstallRightNow.dll
I went to the GAC itself (c:\windows\assembly) to try and remove and got a “file in use” error.
I did an iisreset, I almost downloaded sysinternals, I stopped the timer service in services… finally, I just closed and reopened visual studio itself and I was finally able to close it out.
</end>
Follow me on Twitter at http://www.twitter.com/pagalvin
Coll, I just blogged about this exact problem a few hours ago, and then this post pops up in my google reader 🙂
Same solution as well 😀
Great blog by the way!
Hi Paul,
I commonly encounter this problem, usually because I have opened a command line on c:\windows\assembly\gac_msil\MYDLL_Folder\. Thus gacutil can’t change the dll.
Might help others…
,Jonathan