Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get list of the classes in casual assembly
Message
De
16/03/2010 08:56:38
Vladimir Zhuravlev
Institute of the Physics of Earth,Russia
Moscow Region, Russie
 
 
À
12/03/2010 08:22:20
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01453908
Message ID:
01454739
Vues:
33
Gregory
Sorry for answer delay, I was out of job few days
1 The problem, that string
classList.AddRange(from x in module.GetTypes().Where(x => x.IsClass) select x);
gives me error on '.where'
The message system.array has no definition of where or some referenceor using is missing
I have used for project NET 3.5
I had referencies on Linq etc
Intelesence also does not see- 'where' in module.GetTypes().Where, only equal
Without 'from' variant the code works fine

Other problem
When I put my ready project dll on other computer,
any referencies on any NET assymblies are not found. application trys to find it in working directory, instead of finding in net dll directory
Old variant on 2005 studia with loadwithpathname(assembly) instead of Load works fine on other computer
II mean, application try to find for example System.Windos.Forms.dll not in right place and sure does not find it
All errors comes from Assembly.Load(assemblyName) does not matter whet is assembly name
Other computer also has NEt 3.5 and all requied dll
MVP-2006-2011, PHD in Math and Physics ,
host of www.foxclub.ru,
VFP lector at Interface and Microinform companies
Head science researcher of VNIIA Rosatom.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform