-2

Compiled my .net 2.0 project, under mono 2.4 profile in vs2010.

Running executable on win2k whitout .net framework.

Getting error: can not find mscoree.dll

How can I solve it?

Toon Krijthe
  • 52,876
  • 38
  • 145
  • 202
Jack Malkovich
  • 786
  • 13
  • 33

1 Answers1

0

You can't expect a .Net program to run on windows (or any other platform for that matter) without a CLR like Mono or .Net.

You can however use the mono mkbundle program to produce a single binary statically linked with the mono runtime and with your assemblies packed inside. It is not really intended for windows use but I think it should work.

mkbundle also has license issues, as you end up including a static copy of mono ( which is GPL ) inside. So you should take note of this if you are considering third-party distribution.

Community
  • 1
  • 1
IanNorton
  • 7,145
  • 2
  • 25
  • 28