Castle.DynamicProxy2 mismatch?
When calling into Session.CreateCriteria, I receive an exception:
"Could not load file or assembly 'Castle.Core, Version=1.1.0.0".
The issue seems related to the one found here: http://stackoverflow.com/questions/2918855/fluentnhibernate-1-1-cas...
I am attempting to use a newer version (2.2.0.0) of Castle.DynamicProxy2.dll that is required for Castle.Windsor, which I am using for dependency registration. The version of Castle.DynamicProxy2.dll that came with Fluent NHibernate is 2.1.0.0. Reverting back to 2.1 breaks Castle Windsor.
Thank you in advance for any suggestions someone might have.
I may be wrong about the issue, but assuming I am correct, do I need to do some sort of bindingRedirect or is this updated version of Castle.DynamicProxy2 not supported with Fluent NHibernate?
2 Posted by lance.harper on 15 Jun, 2010 11:38 PM
After being perplexed for a few hours, it turns out a related topic was on these support forums and I figured it out not long after posting my question.
If anyone else has this issue, the solution for me was to add this to my web.config: