如何注册C#DLL [英] How to register a c#dll

查看:205
本文介绍了如何注册C#DLL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,专家,

我已经在C#中创建了一个ClassLibrary.我需要注册这个dll.我已经尝试过使用regsvr32.但这似乎失败了.引发错误找不到DllregisterServer条目oint".反正有没有注册该dll.为什么用regsvr32无法成功..请帮助我..


问候,
Satheesh ..

Hi Experts,

I have created a ClassLibrary in C#. I need to register this dll. I have tried by using regsvr32 . But this seems to failure. Throwing error "DllregisterServer entry oint was not found". Is there anyway to register this dll. Why is it not successfull with regsvr32.. Please help me..


Regards,
Satheesh..

推荐答案

可能会有所帮助,

将C#dll注册到GAC [ ^ ]

regsvr32 [ ^ ]

:)
It might help,

Register C# dll to GAC[^]

regsvr32[^]

:)


您不应该注册C#程序集.
需要在多个应用程序之间共享时,C#程序集会进入全局程序集缓存.

此处了解更多信息 [
You are not supposed to register a C# assembly.
A C# assembly goes into the Global Assembly Cache when it needs to be shared across multiple applications.

Read more here[^].


这篇关于如何注册C#DLL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆