M 
		
								
				
				
			
		Michael Maes
Hello,
I want to be able to load an assembly by selecting a dll from an OpenFileDialog.
This seems to work, exept when that assembly references "3rd-Party dll's".
Just this simple line:
Dim myAssembly As [Assembly] = [Assembly].LoadFile(FileName)
throws the following exception:
System.Reflection.ReflectionTypeLoadException: One or more of the types in the assembly unable to load.
at System.Reflection.Module.GetTypesInternal(StackCrawlMark& stackMark)
at System.Reflection.Assembly.GetTypes()
at Stegosoft.AssemblySniffer.Form1.ScanAssembly(String FileName) in ........
Any sugestions?
TIA,
Michael
				
			I want to be able to load an assembly by selecting a dll from an OpenFileDialog.
This seems to work, exept when that assembly references "3rd-Party dll's".
Just this simple line:
Dim myAssembly As [Assembly] = [Assembly].LoadFile(FileName)
throws the following exception:
System.Reflection.ReflectionTypeLoadException: One or more of the types in the assembly unable to load.
at System.Reflection.Module.GetTypesInternal(StackCrawlMark& stackMark)
at System.Reflection.Assembly.GetTypes()
at Stegosoft.AssemblySniffer.Form1.ScanAssembly(String FileName) in ........
Any sugestions?
TIA,
Michael
 
	 so I'm (twice) glad!
 so I'm (twice) glad!