Hi everyone,
I am kind of new to unity and I was wondering, which version(s) of .net does it support? What I am trying to do is to create an assembly for use in Unity. I happen to have 3 versions of visual studio, supporting over 4 versions of the .Net libraries, so if I want to create an assembly in C# or (hopefully) Managed C++ what version of .Net do I need to target? And is there any version of visual studio that is better to use than an other?
TIA
IIRC target .NET 1.1 when you build a C# DLL library.
My company’s AI technology comes in three flavors: ANSI C++, pure .NET, and J2EE.
Our .NET version is built on the .NET 2.0 Framework for a reasonable amount of backward compatability.
Compiled using VS2005 or VS2008, this assembly works just fine as a Unity component when I drop it into the assets folder.
Yes, this is probably best to insure compatibility. I probably just got lucky. :lol:
I have never seen any problems with 2.0 targets, so it should be generally safe.
-Jeremy
Cool, good to know for future reference.
You will need .NET 1.1 for iPhone, because Unity
iPhone does not support more than 1.1 on the device.
For all other Unity platforms 2.0 works fine, but you never know, if you want to support iPhone one day, so it is best, to only use 1.1