NET 4.0 and NET 3.5

S

shapper

Hello,

Does any knows if I can use a class library compiled with NET 3.5 in a
Net 4.0 project?

Thank You,
Miguel
 
P

Peter Duniho

shapper said:
Hello,

Does any knows if I can use a class library compiled with NET 3.5 in a
Net 4.0 project?

It's ".NET". Not "NET".

You don't compile a library with (i.e. using) .NET 3.5. You compile a
library with a particular version of a compiler (e.g. C# 3.0).

If you're asking whether a library that was compiled to need only .NET
3.5 can still work in .NET 4.0 is installed, well…since .NET 4.0 is
available as beta now, you could just try it yourself and see.

But in general, unless you have designated your assembly references as
"exact version only", newer versions of assemblies will still work with
older libraries that use those assemblies.

Pete
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top