Arcen Games

Other => Game Development => Topic started by: zespri on February 23, 2011, 12:54:02 am

Title: .NET framework dependency
Post by: zespri on February 23, 2011, 12:54:02 am
Can you run mono-compiled binaries on windows if .net framework is not installed? As I understand unity3d does just that, and that was the point of porting AI Wars to unity 3d - so you have your .net code but magically you can run it without .NET!

Is this correct?
Title: Re: .NET framework dependency
Post by: x4000 on February 23, 2011, 08:53:38 am
Mono is it's own runtime, like java. It mimics the .net runtime, but is not the same. Mono can be run on a huge number of systems, such as windows, OSX, Linux, and even things like the ps3 OS. Whereas the .net runtime works on windows and embedded windows only (ie the 360, phones, etc).

Generally you would compile an application to either mono or .net, and then you must distribute the installer for whichever runtime. That is a limiting factor even with mono, and can be kind of annoying. With unity, they package the mono runtime files of relevance right into the unity engine, which means no installation is needed and even if you have a different version of mono installed on your system, unity uses the version compiled into each game.

Hope that helps!
Title: Re: .NET framework dependency
Post by: zespri on February 23, 2011, 04:06:02 pm
Yes, thank you.
Title: Re: .NET framework dependency
Post by: x4000 on February 23, 2011, 04:10:37 pm
My pleasure!
Title: Re: .NET framework dependency
Post by: zespri on May 22, 2011, 03:55:16 am
That's weird. I just received an email notification that there were a reply posted to this topic... Bizarre.
Title: Re: .NET framework dependency
Post by: x4000 on May 22, 2011, 09:40:51 am
Yeah, spambot -- we deleted the message and banned the user before you got here. :)