强制ASP.NET应用程序从GAC加载从箱装配不 [英] Forcing the ASP.NET Application to load the assembly from bin not from GAC

查看:120
本文介绍了强制ASP.NET应用程序从GAC加载从箱装配不的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法强迫我的asp.net应用程序,因为有同名的另一个老版本的程序集在GAC从本地bin目录加载程序集?

Is there any way to force my asp.net application to load the assembly from local bin directory since there is another older version of the assembly with the same name in the gac?

因为其他应用程序正在使用它,我加入了新的版本到GAC时面临一些困难,我不能删除GAC版本。

I can't delete the gac version since other applications are using it and I am facing some difficulties when adding the newer version to the gac.

推荐答案

我发现它

要强制你的应用程序从本地bin目录来读取你必须删除从程序集签名,然后应用程序将从斌加载程序集。

To force your application to read from local bin directory you have to remove signing from your assembly and then the application will load the assembly from bin.

感谢悦Barnett和穆拉德。

Thanks Wyatt Barnett and murad.

这篇关于强制ASP.NET应用程序从GAC加载从箱装配不的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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