The assembly mscorlib.dll was not found or could not be loaded
15,022
I came across the problem last day.You need to install mono-2.0
to execute certain programs.
To install mono 2.0 ,open terminal and type
sudo apt-get install libmono2.0-cil
Related videos on Youtube
Author by
Mike
Updated on September 18, 2022Comments
-
Mike over 1 year
I wanted to run my software on a VPS, however, when I try to run it with mono, it says
The assembly mscorlib.dll was not found or could not be loaded.It should have been installed in the '/usr/local/lib/mono/4.5/mscorlib.dll' directory.
I've already tried to install mono-complete
sudo apt-get install mono-complete
However, it says mono-complete is already the newest version.
Is there anything I can do to fix it?
Sincerely, Mike
( I run on my VPS on ubuntu 13.10 64 bit, and my mono version is 4.0.0)
-
travis almost 10 yearsHave you tried building mono manually? mono-project.com/Compiling_Mono_From_Git
-
-
Mike about 10 yearsHi, Thanks for your reply, it didn't work though, it's already the newest version
-
Registered User about 10 years@mike version 2.0 is different than 4.0 .They can be both installed at same time.If the command doesn't work, try software center.
-
Mike about 10 yearsI probably explained the it the wrong way, when I executed the command, it says it couldn't install because it was already the latest version
-
Registered User about 10 yearstry
sudo apt-get install libmono-system2.0-cil
-
Volker Siegel over 9 yearsYou could use a symlink instead of copying.
-
Nemo over 9 yearsYes, it's better :) I did that after. And also, I set MONO_PATH correctly.