registering a dll in GAC

你离开我真会死。 提交于 2020-01-04 00:57:28

问题


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 Windows 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,


回答1:


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




回答2:


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



来源:https://stackoverflow.com/questions/6905640/registering-a-dll-in-gac

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!