I've seen that error when there is a mismatch between the MbUnit.Frameworkversion that the currently loading dll and the gui were built with. From v2.4 the gui tries to restore the state as it was when it was closed, can you disable this please (set "restorePreviousState" to "false" in MbUnit.GUI.exe.config) and see if the error disappears?
Thanks, Graham On 14/06/07, CaptainBob <[EMAIL PROTECTED]> wrote: > > > Greetings - > > I love MbUnit, but I'm having an issue now that I just upgraded to > 2.4.197. Whenever I start the GUI, I get the following exception: > > System.ApplicationException: Failed Reloading Domain ---> > System.ApplicationException: Failed loading TestDomain ---> > System.Exception: Failed loading assembly ---> > System.Runtime.Remoting.RemotingException: The argument type > 'MbUnit.Core.Filters.AnyTypeFilter' cannot be converted into the > parameter type 'MbUnit.Core.Filters.ITypeFilter'. ---> > System.InvalidCastException: Object must implement IConvertible. > at System.Convert.ChangeType(Object value, Type conversionType, > IFormatProvider provider) > at System.Runtime.Remoting.Messaging.Message.CoerceArg(Object value, > Type pt) > > After it shows me this, I click ok to get past it, and it works fine > after I remove/re-add my assemblies to test. Any ideas on what might > be causing this though? I haven't seen any posts anywhere so I'm > doubting its a bug and probably something on my local machine. Any > help would be most appreciated. > > ~Bob > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "MbUnit.User" 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/MbUnitUser?hl=en -~----------~----~----~----~------~----~------~--~---
