GAC issue: keep getting the old version

I created a simple httpModule, registered it with the GAC and added it to the global web.config.

I made some changes to the module, updated the version and changed it to web.config as well.

What happens is that I keep getting the old version. I restarted the computer, removed it from the GAC, removed the temporary .net application files, but still the consumer application displays the old html code from the httpModule.

Any thoughts on what the hell is going on?

Thank you Bruno Figueiredo http://www.brunofigueiredo.com

0


source to share


2 answers


Is it possible that you have an older version in the bin folder? Another alternative is that some other code is merged with an older version. If all else fails, you can use bindingRedirect to force your new version.



0


source


Don't use the GAC.

Simply, any dependencies you have should be deployed in binary to avoid versioning issues.



I've written about this before: http://www.tigraine.at/2008/10/13/handling-dependencies/

+1


source







All Articles