1

I am in the process of testing a program (class library). The class library (dll) is testing on various systems: .NET Frameworks 3.0, 3.5 and 4.0. Is it possible to test it on .NET 3.0 and 3.5 without having to upgrade the .NET version?

5
  • 1
    What do you mean by upgrade? What .net does your app target? Commented Jun 19, 2012 at 6:21
  • 1
    No. See a similar question: stackoverflow.com/questions/3187212/… Commented Jun 19, 2012 at 6:22
  • 1
    You must have .Net framework version at least as the target version when the dll has been created. Commented Jun 19, 2012 at 6:22
  • gideon: the target framework is 4.0. Commented Jun 19, 2012 at 6:22
  • thanks for pointing me in the correct direction. Commented Jun 19, 2012 at 6:23

1 Answer 1

4

No you can not do that, but its the other way around, you can test 3.5 dll on .Net framework 4.0. An assembly compiled with .NET 4.0 can be loaded only by the CLR 4.0

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.