有没有什么办法来反映系统中的变化,使用它没有很多步骤 [英] is there any way to reflect the changes in dll among the systems use it without many steps

查看:136
本文介绍了有没有什么办法来反映系统中的变化,使用它没有很多步骤的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Q:

我有一个 dll 在许多系统中使用,当我进行任何修改dll,我必须构建它,复制这个dll,将其粘贴到每个Web应用程序模块的 bin文件夹中,并添加对新的引用。

I have a dll which used in many systems, when i make any modification in that dll ,i have to build it, copy this dll ,paste it in the bin folder of each web application module, and add a reference to the new one.

有没有办法减少这些步骤的数量?,我的意思是,是否有任何方法对所有系统中可见的此DLL进行任何修改,所有这些步骤。

Is there any way to reduce the number of these steps? , i mean , is there any way to make any modifications to this dll visible in all systems with out all these steps.

编辑:

GAC 将解决我的问题,如果应用程序在同一个主机上,但要更加清楚,我们使用源代码控件来修改类,并且可以修改这个dll,我想要的是:我对这个dll做了任何改动,这并不会迫使我通过我的应用程序的bin文件夹复制它。

the GAC will solve my problem if the applications at the same host ,but to be more clear , we use a source control to modify classes and more than one can modify this dll , what i want is: when i make any change to that dll , this doesn't force me to copy it through the bin folders of my applications.

提前感谢。 $ b

推荐答案

您可以将此程序集设为共享程序集,并将其安装在 GAC文件夹中,并引用此来自GAC文件夹的每个应用程序的汇编

You can make this assembly as Shared Assembly, and install it in the GAC folder and reference this assembly in each application from GAC folder

这篇关于有没有什么办法来反映系统中的变化,使用它没有很多步骤的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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