I had this exception when stubbing out IUnityContainer. The resolution was to stub a derived type instead.
http://www.neovolve.com/post/2009/08/07/Mocking-IUnityContainer-and-avoiding-BadImageFormatException.aspx Hope this helps. Rory On Sep 30, 11:32 pm, Tim Barcz <[email protected]> wrote: > Uploaded where? > > On Wed, Sep 30, 2009 at 8:31 AM, Peter Morris <[email protected]> wrote: > > > I've just uploaded a very simple test case. If you run it then it > > will pass the test, if you debug it you will get a > > BadImageFormatException. > > > Regards > > > Pete > > -- > Tim Barcz > Microsoft ASPInsiderhttp://timbarcz.devlicio.ushttp://www.twitter.com/timbarcz --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
