如何注册在GAC一个.NET的DLL文件? [英] How do I register a .NET DLL file in the GAC?
本文介绍了如何注册在GAC一个.NET的DLL文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经做了.NET的DLL文件,我想在 GAC 注册。我在 Windows Server 2003的命令提示符使用此命令。
I have made a .NET DLL file, which I want to register in the GAC. I have used this command in Windows Server 2003 Command Prompt.
C:\"Path of dll"\> gacutil/i dllname.dll
报告说,道路是不正确的。
It says the path is not correct.
我是否需要用这个在.NET的命令提示符?如果是这样的,我不能够找到.NET CMD PROMT'。
Do I need to use this in a .NET cmd prompt? If it is that, I am not able to locate the .NET cmd promt'.
推荐答案
您可以做到这一点使用的 GACUTIL
工具。在其最简单的形式:
You can do that using the gacutil
tool. In its simplest form:
gacutil /i yourdll.dll
您发现在开始菜单中的Visual Studio命令提示符下的程序的 - > 的Visual Studio 的 - > Visual Studio工具的
You find the Visual Studio Command Prompt in the start menu under Programs -> Visual Studio -> Visual Studio Tools.
这篇关于如何注册在GAC一个.NET的DLL文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文