From: shapper on
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
From: Peter Duniho on
shapper wrote:
> 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