Hi,

Ensure that MbUnit.Framework, QuickGraph and TestFu assemblies are in the
bin folder of the assembly your testing. Also ensure that permissions for
the folders/files have not changed.

Thanks

Andy

On 2/19/07, makka <Claudio Maccari/> <[EMAIL PROTECTED]> wrote:
>
>
> MbUnit stop to work with this strage error. I have used it for a month
> but now I always get this error when I try to run unit test with GUI.
> I check that QuickGraph.Algorithms.dll is in my C:\Program Files
> \MbUnit folder with the right version.
> Can someone help me ?
>
> System.ApplicationException: Failed Reloading domain --->
> System.ApplicationException: Failed loading TestDomain --->
> System.Exception: Failed loading assembly --->
> System.Reflection.TargetInvocationException: Exception has been thrown
> by the target of an invocation. ---> System.IO.FileNotFoundException:
> Could not load file or assembly 'QuickGraph.Algorithms,
> Version=2.21.1.0, Culture=neutral, PublicKeyToken=975e84d0c8d6464d' or
> one of its dependencies. The system cannot find the file specified.
>
> File name: 'QuickGraph.Algorithms, Version=2.21.1.0, Culture=neutral,
> PublicKeyToken=975e84d0c8d6464d'
>
>   at MbUnit.Core.Remoting.RemoteTestEngine..ctor(IFixtureRunner
> fixtureRunner)
>
>   at MbUnit.Core.Remoting.RemoteTestEngine..ctor()
>
>   at MbUnit.Core.Remoting.RemoteTestTree..ctor()
>
>
>
> WRN: Assembly binding logging is turned OFF.
>
> To enable assembly bind failure logging, set the registry value [HKLM
> \Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
>
> Note: There is some performance penalty associated with assembly bind
> failure logging.
>
> To turn this feature off, remove the registry value [HKLM\Software
> \Microsoft\Fusion!EnableLog].
>
>
>
>   --- End of inner exception stack trace ---
>
>   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type,
> Boolean publicOnly, Boolean noCheck, Boolean& canBeCached,
> RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
>
>   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly,
> Boolean fillCache)
>
>   at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly,
> Boolean skipVisibilityChecks, Boolean fillCache)
>
>   at System.Activator.CreateInstance(Type type, Boolean nonPublic)
>
>   at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr,
> Binder binder, Object[] args, CultureInfo culture, Object[]
> activationAttributes)
>
>   at System.Activator.CreateInstance(Type type, BindingFlags
> bindingAttr, Binder binder, Object[] args, CultureInfo culture,
> Object[] activationAttributes)
>
>   at System.Activator.CreateInstance(String assemblyName, String
> typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder,
> Object[] args, CultureInfo culture, Object[] activationAttributes,
> Evidence securityInfo, StackCrawlMark& stackMark)
>
>   at System.Activator.CreateInstance(String assemblyName, String
> typeName)
>
>   at System.AppDomain.CreateInstance(String assemblyName, String
> typeName)
>
>   at System.AppDomain.CreateInstanceAndUnwrap(String assemblyName,
> String typeName)
>
>   at System.AppDomain.CreateInstanceAndUnwrap(String assemblyName,
> String typeName)
>
>   at MbUnit.Core.Remoting.TreeTestDomain.CreateTestEngine()
>
>   at MbUnit.Core.Remoting.TestDomainBase.InitializeEngine()
>
>   --- End of inner exception stack trace ---
>
>   at MbUnit.Core.Remoting.TestDomainBase.InitializeEngine()
>
>   at MbUnit.Core.Remoting.TestDomainBase.Load()
>
>   --- End of inner exception stack trace ---
>
>   at MbUnit.Core.Remoting.TestDomainBase.Load()
>
>   at MbUnit.Core.Remoting.TestDomainBase.Reload()
>
>   --- End of inner exception stack trace ---
>
>   at MbUnit.Core.Remoting.TestDomainBase.Reload()
>
>   at MbUnit.Core.Remoting.TreeTestDomainCollection.Reload()
>
>   at MbUnit.Forms.ReflectorTreeView.PopulateTree()
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to