简体   繁体   English

注册一个DLL。 什么时候需要在GAC注册?

[英]Registering a DLL. When I need to register it in GAC?

As title, In order to register a DLL, when I need to register it in GAC?作为标题,为了注册一个DLL,我什么时候需要在GAC中注册它?

I simply took an old dll, decompiled with JetBrain, modified an URL (in Setting.cs) and recompiled.我只是拿了一个旧的 dll,用 JetBrain 反编译,修改了一个 URL(在 Setting.cs 中)并重新编译。

Now I would substitute the old dll with this one and test if everything is good (so my site will be able to reach the new URL).现在我将用这个替换旧的 dll 并测试一切是否正常(这样我的站点将能够访问新的 URL)。

I ask you:我问你:

  • I need to register it or I can just substiute the old dll ith this one?我需要注册它还是我可以用这个替换旧的dll?
  • If I need to register it, I must register in GAC?如果我需要注册,我必须在GAC注册吗?

Thanks anyone for your support.感谢任何人的支持。 Have a nice day.祝你今天过得愉快。

It depends how the original one was deployed.这取决于最初的部署方式。 If this was in the GAC then so should your new one be, etc.如果这是在 GAC 中,那么您的新成员也应该在 GAC 中,等等。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM