How to copy dll from GAC
VS 2005
I have dll conflict .. I need to add Microsoft.Data.SqlXml Version 9.0.242.0 dll to my Project. This dll is shipped along with VS 2005 / SQL Express Edition开发者_StackOverflow社区. When i installed VS 2005 on my computer, i skipped installing Express Edition. Because, i already have SQL 2008 Edition on my computer.
Now my project is not building as because of this dll. I installed SQLEXP.exe for 2005 version.. but still it doesn't helped me.
Now, i am trying to copy this .dll from another computer to my computer. So how should i copy the .dll without uninstalling ???
It's actually quite easy to copy a DLL from the GAC using the command line. Just navigate to the folder (C:\Windows\Assembly) and take it, although the structure of the folder is different, it's quite intuitive.
This code project article has quite a few images and explanations.
精彩评论