将DLL安装到程序集时出现问题 [英] Problem in installing a DLL to assembly
本文介绍了将DLL安装到程序集时出现问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我有一个现成的项目,当我运行项目时出现以下错误。
Hi All,
i've got a ready made project , when i run the project getting the following error.
"
Retrieving the COM class factory for component with CLSID {B933B20D-20F7-4CBC-A31E-4A2C2F197BE1} failed due to the following error: 80040154.
然后我用Google搜索,并说要安装dll。
当我尝试安装dll时。得到以下错误。
"
Then i googled, and says to install the dll.
When i try to install the dll. getting the following error.
Failure adding assembly to the cache: Attempt to install an assembly without a s
trong name
推荐答案
您正在面对此错误,因为您指的是不是强名称的程序集。
为此,你必须为程序集添加一个强名称,并提供对该程序集的引用。
以下链接说明如何为程序集添加强名称(一步一步):
< a href =http://www.geekzilla.co.uk/ViewCE64BEF3-51A6-4F1C-90C9-6A76B015C9FB.htm>为现有DLL添加强名称 [ ^ ]
You are facing this error because you are referring to the assembly which is not a strong name.
For that you will have to add a strong name to the assembly and give a reference to that assembly.
Below link explains how to add strong name to the assembly (step by step ):
Adding a Strong Name to an existing DLL[^]
这篇关于将DLL安装到程序集时出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文