Mono return error: mono mscorlib.dll was not found

前端 未结 2 652
野性不改
野性不改 2021-01-24 12:33

I\'ve developed a mono gtk 2.10 application with monodevelop 2.4.

But, when i try to launch the .exe outside my develop machine (about 5 virtual machine) i get ever:

2条回答
  •  北荒
    北荒 (楼主)
    2021-01-24 12:42

    It might be that your program was built against a version of the runtime that isn't installed on the other machines.

    For instance, If you compiled against 1.1 or 4.0 and your other systems only have 2.0 or 3.5 etc.

    Given that you are having these kinds of problems, you might want to look at mkbundle. If you do not need to distribute your program to third parties you might want to use the --static option.

提交回复
热议问题