Hi, I'm working to upgrade the dependencies for some projects. While upgrading to NHibernate 2.1.2, Castle.DynamicProxy2 was upgraded to 2.1.
This causes unit tests to fail with: System.TypeInitializationException : The type initializer for 'Rhino.Mocks.MockRepository' threw an exception. ----> System.IO.FileLoadException : Could not load file or assembly 'Castle.DynamicProxy2, Version=2.0.3.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) We are using Rhino.Mocks 3.5. To try to resolve this, I upgraded Rhino.Mocks to 3.6. Now compilation fails with: The type 'Castle.Core.Interceptor.IInvocation' exists in both '... \Rhino.Mocks.dll' and '...\Castle.Core.dll'. whenever a unit tests refers to IInvocation. We have a bunch of unit tests that does that. >From what I can tell, Rhino.Mocks 3.6 is only available with merged Castle.Core (filesize 309 kB). Before we were using an unmerged version I think (filesize 124 kB). Any ideas how to resolve this? /Oskar -- You received this message because you are subscribed to the Google Groups "Rhino.Mocks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rhinomocks?hl=en.
