我应该随发行版一起分发log4net吗? [英] Should I distribute log4net with my releases?

查看:75
本文介绍了我应该随发行版一起分发log4net吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道关于依赖项的最佳实践以及应该如何进行发布.在我的情况下,我有一个依赖于log4net的库,我想知道是否应随发行版一起分发log4net.dll(将log4net引用设置为复制本地)?

I am wondering what is best practice when it comes to dependencies and how releases should be done. In my case I have a library that relies on log4net and I am wondering if I should distribute log4net.dll (set the log4net reference to copy local) along with the release?

我能简单地说一下应该在GAC中安装log4net吗?

Could I simply state that log4net should be installed in the GAC?

推荐答案

依赖GAC中的库可能会导致版本冲突和其他难以解决和调试的问题.我总是尝试用我的软件分发所有内容.

Relying on libraries in the GAC can cause version conflicts and other problems that are very hard to troubleshoot and debug. I always try to distribute everything with my software.

这篇关于我应该随发行版一起分发log4net吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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