I need to add an dll to GAC on Windows 2003 server. The server doesn't have Visual Studio installed. I didnt find Gacutil.exe in W开发者_运维问答indows 2003 Server. Where can I find Gacutil in Windows 2003 Server. Is there any other way I can add a dll to GAC . Any help will be highly appreciated.
Thanks in Advance,
While you can't (re: shouldn't) use GACUtil.exe, there are 2 other ways, outlined in the following link from msdn:
http://msdn.microsoft.com/en-us/library/dkkx7f79.aspx
What you're looking for is probably Mscorcfg.msc
, but is only good for Framework version 3.5 and earlier
http://msdn.microsoft.com/en-us/library/2bc0cxhc.aspx
You cannot call gacutil. There are some fusion APIs you can P/Invoke.
Instructions: http://support.microsoft.com/default.aspx?scid=kb;en-us;317540
精彩评论