Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get list of the classes in casual assembly
Message
From
17/03/2010 08:02:08
 
 
To
17/03/2010 02:00:51
Vladimir Zhuravlev
Institute of the Physics of Earth,Russia
Moscow Region, Russia
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01453908
Message ID:
01455039
Views:
42
Vlad,

There is more than one assembly System.Windows.Forms
From what I understand, you have to be more specific

Set a breakpoint at Console.ReadLine();

Then look at the members of both assembly1 and assembly2 in the debugger
		static void Main()
		{
			string assemblyName1 = @"System.Windows.Forms, Version=2.0.0.0, Culture=neutral,PublicKeyToken=b77a5c561934e089";
			string assemblyName2 = @"System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089";
			

			// this may be of interest as well
			// I think you can use usedAssemblies[ i ]
			//var usedAssemblies = AppDomain.CurrentDomain.GetAssemblies();

			var assembly1 = Assembly.Load(assemblyName1);
			var assembly2 = Assembly.Load(assemblyName2);
			Console.ReadLine();
		}
Gregory
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform