I’ve recently converted an app from .net 2.0 to 3.5 but I don’t see any extension methods… what am I doing wrong? Or what else should I do besides changing the target framework from 2.0 to 3.5 in project settings?
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.
Extension methods appear based on the imported namespaces try adding
to the top of your files. As Jon says you’ll also need add a reference to System.Core.dll assembly.