Unity 3.0 for .Net 4.0?

Oct 11, 2013 at 8:39 PM
We would like to make use of the latest 3.0 release but are unfortunately tied to .Net 4.0 for a lengthy amount of time. Is there a 4.0 compatible build?
Editor
Oct 13, 2013 at 7:18 AM
Unity 3 only targets .NET 4.5 because it uses some new .NET 4.5 features (e.g. new TypeInfo class. Unfortunately, there is no .NET 4.0 compatible build.

~~
Randy Levy
entlib.support@live.com
Enterprise Library support engineer
Support How-to
Oct 24, 2013 at 2:04 AM
I was able to "port" it back to a 4.0 compile without too much trouble. I largely just faked the TypeInfo via an extension method have have all the unit tests passing.

With POSReady2009 support continuing for many years it would be beneficial to have a 4.0 supported release.

With some relatively mild #ifdefs I think the code base could support a cross version build and help Unity stand up better against choices like Castle which are cross compiling for a number of runtimes. Is this something that could be folded back in?
Jan 8 at 7:11 PM
Hello jlongino,

does your fake of the TypeInfo worked? Can you make your fake Public ?

Thx Matthias