Mono return error: mono mscorlib.dll was not found

前端 未结 2 650
野性不改
野性不改 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:40

    You can try the following:

    % MONO_PATH=. mono yourapp.exe
    

    It will make mono look in the current directory to find its files. But if your environment is not set correctly you'll likely have other issues (e.g. finding the GAC, machine.config...). Look at the mono-project.com wiki for more information.

提交回复
热议问题