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
Share:
15,022

Related videos on Youtube

Mike
Author by

Mike

Updated on September 18, 2022

Comments

  • Mike
    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)

  • Mike
    Mike about 10 years
    Hi, Thanks for your reply, it didn't work though, it's already the newest version
  • Registered User
    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
    Mike about 10 years
    I 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
    Registered User about 10 years
    try sudo apt-get install libmono-system2.0-cil
  • Volker Siegel
    Volker Siegel over 9 years
    You could use a symlink instead of copying.
  • Nemo
    Nemo over 9 years
    Yes, it's better :) I did that after. And also, I set MONO_PATH correctly.