Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting a list of all assemblies
Message
From
19/05/2009 10:23:34
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01400626
Message ID:
01400639
Views:
48
>Hi All, my app consists of an exe and twenty or so dlls, if I want to iterate through each assembly's type, can I do that by loading the exe as shown
>
>Assembly a = Assembly.LoadFrom(Application.ExecutablePath);
>
>
>what I'm trying to say ( badly It's been a long day ), is, "will all the dll's types be returned to the variable a" ? or just the ones in the exe's namespace ?

I don't think so, Pete

See GetReferencedAssemblies() : http://msdn.microsoft.com/en-us/library/system.reflection.assembly.getreferencedassemblies.aspx
Gregory
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform