Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem getting assemblies list outside class dll
Message
De
06/04/2010 10:26:14
 
 
À
06/04/2010 10:17:48
Vladimir Zhuravlev
Institute of the Physics of Earth,Russia
Moscow Region, Russie
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01458885
Message ID:
01458919
Vues:
37
>Gregory
>In class this is ok
>But, when I make dll from class and call same class method outside of this class, the result is different one


Vladimir,

It's not clear to me what you want

If I change the code to [ var xx = new int[2, 2]; ], I only get
mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
So, if you can explain which assemblies you want, I could perhaps change the code
[ Maybe Nadya can translate your question, if that would be easier for you ]

Your question started with a class' instance - remember ?
		static void Main()
		{


			var xx = new int[2, 2];                //                      <- here
			var list = GetAllAssemblies(xx);

			foreach ( var a in list )
			{
				Console.WriteLine("{0}", a);
			}
			Console.ReadLine();
		}
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform