[Mono-list] Unhandled Exception on test compile

k.joatmon k.joatmon at gmail.com
Wed Jan 27 18:42:43 UTC 2016


I installed mono for one purpose, to run duplicati on LINUX. I got errors, so
I started trying to troubleshoot them and this led me back to it being the
mono install.  I have searched for the errors on the nabbel site and web in
general and do not find any clue as to the solution.

The machine is running CentOS Linux release 7.2.1511 (Core)

Relevant commands tried so far:
yum-config-manager --add-repo http://download.mono-project.com/repo/centos/
yum install mono-complete

Also did an uninstall, cleaned the cache in case it was a bad download,
redid the install and tried the referenceassemblies-pcl and
ca-certificates-mono packages.

Error with mcs test below.

#cat hello.cs
using System;

public class HelloWorld
{
    static public void Main ()
    {
        Console.WriteLine ("Hello Mono World");
    }
}
#mcs hello.cs

Unhandled Exception:
System.TypeLoadException: Could not load type
'Mono.CSharp.ConsoleReportPrinter' from assembly 'mcs, Version=4.2.1.0,
Culture=neutral, PublicKeyToken=null'.
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: Could not load
type 'Mono.CSharp.ConsoleReportPrinter' from assembly 'mcs, Version=4.2.1.0,
Culture=neutral, PublicKeyToken=null'.




--
View this message in context: http://mono.1490590.n4.nabble.com/Unhandled-Exception-on-test-compile-tp4667330.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list