Is there a trick to use static reflection with Visual Studio 2008 targeting .net framework 2.0 ?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Actually, it isn’t quite true that you need .NET 3.5 for this. What you need is the
Expressionclasses; you can write these for 2.0 (I’ve done it for C# 3.0 targetting CF, which lacksExpression), but is isn’t very easy, and I’d question the benefit.If you value your sanity, I’d say stick with strings until you upgrade to 3.5. Sorry.