开发者

ASP.NET and GAC

开发者 https://www.devze.com 2023-01-26 14:44 出处:网络
There is an ASP.NET Web application that makes use of a reference DLL. The same DLL is registered in GAC.

There is an ASP.NET Web application that makes use of a reference DLL. The same DLL is registered in GAC.

Is there a way to force VS or ASP.NET application to make use of the referenced DLL inside Bin folder rather than u开发者_开发技巧sing the one in GAC?

Regards


afaik, the only way is to remove the one in the GAC


You will need to remove the assembly from the GAC or give the assembly in the bin directory a different name, version, culture, or strong name key to get the assembly in the bin directory to load.


I've created a sexy visual studio extension that will help you to achieve your goal. Muse VSReferences will allow you to add a Global Assembly Cache reference to the project from Add GAC Reference menu item.

ASP.NET and GAC

0

精彩评论

暂无评论...
验证码 换一张
取 消