Skip to content

Instantly share code, notes, and snippets.

@joaoportela
Created July 2, 2013 19:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joaoportela/5912214 to your computer and use it in GitHub Desktop.
Save joaoportela/5912214 to your computer and use it in GitHub Desktop.
Logs of nunit (gui) failing to open MySolution.sln as a project (with fusion enabled).
---------------------------
NUnit
---------------------------
Test load failed!
System.IO.FileNotFoundException : Could not load file or assembly 'MyNamespace.Administration, Version=0.0.0.1, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
For further information, use the Exception Details menu item.
---------------------------
OK
---------------------------
InternalTrace: Initializing at level Warning
20:10:11.251 Error [ 5] TestDomain: Load failure
InternalTrace: Initializing at level Warning
20:10:11.287 Error [ 1] TestLoader: File not found
System.IO.FileNotFoundException: Could not load file or assembly 'MyNamespace.Administration, Version=0.0.0.1, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
File name: 'MyNamespace.Administration, Version=0.0.0.1, Culture=neutral, PublicKeyToken=null'
Server stack trace:
at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection)
at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.Load(String assemblyString)
at System.UnitySerializationHolder.GetRealObject(StreamingContext context)
at System.Runtime.Serialization.ObjectManager.ResolveObjectReference(ObjectHolder holder)
at System.Runtime.Serialization.ObjectManager.DoFixups()
at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
at System.Runtime.Remoting.Channels.CrossAppDomainSerializer.DeserializeObject(MemoryStream stm)
at System.Runtime.Remoting.Messaging.SmuggledMethodReturnMessage.FixupForNewAppDomain()
at System.Runtime.Remoting.Channels.CrossAppDomainSink.SyncProcessMessage(IMessage reqMsg)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at NUnit.Core.TestRunner.Load(TestPackage package)
at NUnit.Util.TestDomain.Load(TestPackage package)
at NUnit.Core.ProxyTestRunner.Load(TestPackage package)
at NUnit.Util.RemoteTestAgent.AgentRunner.Load(TestPackage package)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
Exception rethrown at [1]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at NUnit.Core.TestRunner.Load(TestPackage package)
at NUnit.Core.ProxyTestRunner.Load(TestPackage package)
at NUnit.Util.ProcessRunner.Load(TestPackage package)
at NUnit.Util.TestLoader.LoadTest(String testName)
Assembly manager loaded from: C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll
Running under executable C:\Program Files (x86)\NUnit 2.6.2\bin\nunit-agent-x86.exe
--- A detailed error log follows.
=== Pre-bind state information ===
LOG: User = MY-PC\Joao Portela
LOG: DisplayName = MyNamespace.Administration, Version=0.0.0.1, Culture=neutral, PublicKeyToken=null
(Fully-specified)
LOG: Appbase = file:///C:/Program Files (x86)/NUnit 2.6.2/bin/
LOG: Initial PrivatePath = NULL
Calling assembly : (Unknown).
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\Program Files (x86)\NUnit 2.6.2\bin\nunit-agent-x86.exe.Config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Attempting download of new URL file:///C:/Program Files (x86)/NUnit 2.6.2/bin/MyNamespace.Administration.DLL.
LOG: Attempting download of new URL file:///C:/Program Files (x86)/NUnit 2.6.2/bin/MyNamespace.Administration/MyNamespace.Administration.DLL.
LOG: Attempting download of new URL file:///C:/Program Files (x86)/NUnit 2.6.2/bin/lib/MyNamespace.Administration.DLL.
LOG: Attempting download of new URL file:///C:/Program Files (x86)/NUnit 2.6.2/bin/lib/MyNamespace.Administration/MyNamespace.Administration.DLL.
LOG: Attempting download of new URL file:///C:/Program Files (x86)/NUnit 2.6.2/bin/addins/MyNamespace.Administration.DLL.
LOG: Attempting download of new URL file:///C:/Program Files (x86)/NUnit 2.6.2/bin/addins/MyNamespace.Administration/MyNamespace.Administration.DLL.
LOG: Attempting download of new URL file:///C:/Program Files (x86)/NUnit 2.6.2/bin/MyNamespace.Administration.EXE.
LOG: Attempting download of new URL file:///C:/Program Files (x86)/NUnit 2.6.2/bin/MyNamespace.Administration/MyNamespace.Administration.EXE.
LOG: Attempting download of new URL file:///C:/Program Files (x86)/NUnit 2.6.2/bin/lib/MyNamespace.Administration.EXE.
LOG: Attempting download of new URL file:///C:/Program Files (x86)/NUnit 2.6.2/bin/lib/MyNamespace.Administration/MyNamespace.Administration.EXE.
LOG: Attempting download of new URL file:///C:/Program Files (x86)/NUnit 2.6.2/bin/addins/MyNamespace.Administration.EXE.
LOG: Attempting download of new URL file:///C:/Program Files (x86)/NUnit 2.6.2/bin/addins/MyNamespace.Administration/MyNamespace.Administration.EXE.
InternalTrace: Initializing at level Warning
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment