Regasm - 无法找到输入组件
我编写了一个 .NET 程序集并使用 Regasm 在本地计算机中成功注册了它,但是当我尝试在目标服务器中执行此操作时,出现以下错误。
Regasm:错误 RA0000:无法找到输入程序集“完整 dll 路径”或其依赖项之一。
我的本地机器是Windows XP 32位机器,服务器是32位Windows 2003 Server。
我正在使用以下命令进行高潮: Regasm“完整文件路径”/tlb:filename.tlb
有谁知道我在这里缺少什么?
谢谢。
I wrote a .NET assembly and registered it successfully in my local machine using Regasm but when I try to do that in the target server, I am getting the following error.
Regasm :error RA0000 : Unable to locate input assembly "full dll path" or one of its dependencies.
My local machine is a Windows XP 32 bit machine and the Server is a 32 bit Windows 2003 Server.
I am using the following command for regasm:
Regasm "full file path" /tlb:filename.tlb
Does anyone know what I am missing here?
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
当我尝试在 64 位 Win 7 安装上注册 DLL 时,我遇到了这个问题,运行进程监视器后,我发现它正在 SysWOW64 文件夹以及 system32 中寻找 DLL,将 DLL 文件放置在这两个位置后我能够正确注册。
I had this issue when I was trying to register a DLL on a 64Bit Win 7 install, after running process monitor I found out it was looking for the DLL in the SysWOW64 folder as well as system32, after placing the DLL file in both locations I was able to register it correctly.
我的猜测是你的路径可能有空格。
尝试将 dll 放置到一个简单的路径,例如“c:\FolderName\DllName”,然后执行。
My guess is your path might be having spaces.
Try placing the dll to a simple path like "c:\FolderName\DllName" and then execute.