在没有程序集清单的情况下在 GAC 中注册 DLL [英] Register DLL in GAC without Assembly Manifest
本文介绍了在没有程序集清单的情况下在 GAC 中注册 DLL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个 DLL,希望在我的 GAC 中注册.我输入命令:
I have a DLL I wish to register with my GAC. I enter the command:
gacutil /i c:\temp\msvcr100.dll
我得到错误:
将程序集添加到缓存失败:该模块应该包含一个 as组合清单.and I get the error:
Failure adding assembly to the cache: The module was expected to contain an as sembly manifest.我只有 DLL.有没有办法创建/伪造/绕过它?
All I have is the DLL. Is there a way to create / fake / bypass it?
对于那些感兴趣的人,我正在尝试提取 Visual Studio 2010 &从 VHD 下载 .NET 4.0 CTP 并在我的物理机上运行它.作为旁注,是否有人尝试过?
For those interested, I am attempting to extract the Visual Studio 2010 & .NET 4.0 CTP from the VHD and run it on my physical box. As a side note, has this been attempted?
推荐答案
这真的是一个支持 GAC 的 DLL 吗?好像不是.也许它只是可以注册?你为什么要 GAC 它?
Is this actually a GAC-able DLL? It doesn't seem like it. Maybe it's just reg-able? Why do you want to GAC it?
这篇关于在没有程序集清单的情况下在 GAC 中注册 DLL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文