| Author |
Message |
fbkevy
Joined: 01 Oct 2010 Posts: 1
|
Posted: Mon Oct 04, 2010 7:56 am Post subject: Failed to load |
|
|
When I add my assemble I get a message failed to load a dependent module. This file does exist in the current folder so I am unsure as to why I get this error. Can someone help?
Thanks.
Code:
An exception was encountered while trying to load the assembly C:\xxxxx\Debug\xxxx.dll.
RedGate.Exceptions.AssemblyNotLoadedException
at RedGate.ExceptionHunter.Logic.CecilSPI.DotNetAssembly.a(Exception )
at RedGate.ExceptionHunter.Logic.CecilSPI.DotNetAssembly.a(Boolean )
at RedGate.ExceptionHunter.Logic.CecilSPI.DotNetAssembly.a(String )
at RedGate.ExceptionHunter.Logic.CecilSPI.DotNetAssembly..ctor(IExceptionHunterSession session, String fullPathname)
at y.GetPE(String fullPathname)
at v.AddSessionAssembliesAndReferences(IEnumerable`1 filenames)
at RedGate.ExceptionHunter.UI.MainForm.<>c__DisplayClass21.<AddAssemblies>b__1d()
Caused by:
Module not found : yyyyyyy.netmodule
System.IO.FileNotFoundException
at Mono.Cecil.StructureReader.VisitModuleDefinitionCollection(ModuleDefinitionCollection modules)
at Mono.Cecil.AssemblyDefinition.Accept(IReflectionStructureVisitor visitor)
at Mono.Cecil.AssemblyFactory.GetAssembly(ImageReader irv, Boolean manifestOnly)
at Mono.Cecil.AssemblyFactory.GetAssembly(String file)
at F.LoadTypesFrom(String filename)
at F.LoadAssemblyWithFullName(String assemblyName)
at cB.a(String )
at cB.a()
at bz.LoadAssemblyFromFile(String filename)
at bs.e.PerformTask()
at bs.a() |
|
| Back to top |
|
 |
nick.maidment
Joined: 29 Jan 2010 Posts: 74
|
Posted: Mon Oct 04, 2010 10:05 am Post subject: |
|
|
While exception hunter is trying to load the dll, it seems to be having trouble locating the module "yyyyyyy.netmodule" (which I assume is referenced somehow by the dll).
It might be worth checking the version number of the dll and the module to make sure there isn't a mismatch |
|
| Back to top |
|
 |
zorghbwa
Joined: 14 Dec 2010 Posts: 1
|
Posted: Tue Dec 14, 2010 9:37 am Post subject: What about this fail? |
|
|
Hi
I got this exception while loading my assembly. Is there anything I could do to solve the problem?
MSVS2005, EH2.1.
-J
An exception was encountered while trying to load the assembly C:\xxx\xxx.exe
RedGate.Exceptions.AssemblyNotLoadedException
at RedGate.ExceptionHunter.Logic.CecilSPI.DotNetAssembly.a(Exception )
at RedGate.ExceptionHunter.Logic.CecilSPI.DotNetAssembly.a(Boolean )
at RedGate.ExceptionHunter.Logic.CecilSPI.DotNetAssembly.a(String )
at RedGate.ExceptionHunter.Logic.CecilSPI.DotNetAssembly..ctor(IExceptionHunterSession session, String fullPathname)
at y.GetPE(String fullPathname)
at v.AddSessionAssembliesAndReferences(IEnumerable`1 filenames)
at RedGate.ExceptionHunter.UI.MainForm.<>c__DisplayClass21.<AddAssemblies>b__1d()
Caused by:
Non valid tag for TypeDefOrRef
Mono.Cecil.Metadata.MetadataFormatException
at Mono.Cecil.Metadata.Utilities.GetMetadataToken(CodedIndex cidx, UInt32 data)
at Mono.Cecil.Signatures.SignatureReader.ReadType(Byte[] data, Int32 pos, Int32& start)
at Mono.Cecil.Signatures.SignatureReader.ReadParameter(Byte[] data, Int32 pos, Int32& start)
at Mono.Cecil.Signatures.SignatureReader.ReadParameters(Int32 length, Byte[] data, Int32 pos)
at Mono.Cecil.Signatures.SignatureReader.ReadMethodDefSig(MethodDefSig methodDef, Byte[] data, Int32 pos, Int32& start)
at Mono.Cecil.Signatures.SignatureReader.VisitMethodDefSig(MethodDefSig methodDef)
at Mono.Cecil.Signatures.MethodDefSig.Accept(ISignatureVisitor visitor)
at Mono.Cecil.Signatures.SignatureReader.GetMethodDefSig(UInt32 index)
at Mono.Cecil.ReflectionReader.CompleteMethods()
at Mono.Cecil.ReflectionReader.VisitTypeDefinitionCollection(TypeDefinitionCollection types)
at Mono.Cecil.AggressiveReflectionReader.VisitTypeDefinitionCollection(TypeDefinitionCollection types)
at Mono.Cecil.ReflectionReader.VisitModuleDefinition(ModuleDefinition mod)
at Mono.Cecil.StructureReader.TerminateAssemblyDefinition(AssemblyDefinition asm)
at Mono.Cecil.AssemblyDefinition.Accept(IReflectionStructureVisitor visitor)
at Mono.Cecil.AssemblyFactory.GetAssembly(ImageReader irv, Boolean manifestOnly)
at Mono.Cecil.AssemblyFactory.GetAssembly(String file)
at F.LoadTypesFrom(String filename)
at as.LoadAssemblyWithFullName(String assemblyName)
at cB.a(String )
at cB.a()
at bz.LoadAssemblyFromFile(String filename)
at bs.e.PerformTask()
at bs.a() |
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group