I’ve found a lot information in internet about this, but I can’t answer for myself; will .net 4.0 application work slower if I add .net 3.5/2.0 assembly, and should I recompile them in 4.0 if I can?
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.
I don’t think you should worry about performance in this scenario. The 2.0/3.5 assemblies may actually work faster, since there is potentially less code overhead (in some rare cases).
But that’s all micro-optimization anyway, and the only way you’re going to know for sure is to profile your code, and see how fast it really is. I think you’re going to find in the vast majority of cases that it isn’t going to matter.