Author Topic: .NET framework dependency  (Read 6345 times)

Offline zespri

  • Hero Member Mark III
  • *****
  • Posts: 1,109
.NET framework dependency
« 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?

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: .NET framework dependency
« Reply #1 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!
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline zespri

  • Hero Member Mark III
  • *****
  • Posts: 1,109
Re: .NET framework dependency
« Reply #2 on: February 23, 2011, 04:06:02 pm »
Yes, thank you.

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: .NET framework dependency
« Reply #3 on: February 23, 2011, 04:10:37 pm »
My pleasure!
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline zespri

  • Hero Member Mark III
  • *****
  • Posts: 1,109
Re: .NET framework dependency
« Reply #4 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.

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: .NET framework dependency
« Reply #5 on: May 22, 2011, 09:40:51 am »
Yeah, spambot -- we deleted the message and banned the user before you got here. :)
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

 

SMF spam blocked by CleanTalk