Ошибка компиляции Mono - не удалось загрузить тип 'System.Runtime.CompilerServices.ReferenceAssemblyAttribute' из сборки 'System'

У меня проблемы с компиляцией моего приложения CSharp Mono.

Моя версия Mono - 2.10.2

Это ошибка, которую я получаю

Отсутствует метод .ctor в сборке /home/tmc/AcctTerm/System.dll, тип System.Runtime.CompilerServices.ReferenceAssemblyAttribute Не удается найти изображение настраиваемого конструктора атрибутов: /home/tmc/AcctTerm/System.dll mtoken: 0x0a000054

Необработанное исключение: System.TypeLoadException: не удалось загрузить тип «System.Runtime.CompilerServices.ReferenceAssemblyAttribute» из сборки «System» . в conAccountTerminator.cjcAccountTerminator..ctor () [0x00000] в: 0 at conAccountTerminator.MainClass.Main (System.String [] args) [0x00000] in: 0

Есть идеи?

редактировать: Добавление кода;

using System;
using System.Net;
using System.Collections;
using System.Web;
using System.Text;
using System.IO;
using MySql;
using MySql.Data;
using MySql.Data.MySqlClient;
using System.Security;
using System.Security.Authentication;
using System.Net.Security;
using System.Security.Cryptography;
using System.Security.Cryptography.X509Certificates;
using System.Data;
using System.Xml;

namespace conAccountTerminator
{
    class MainClass
    {
        public static void Main(string[] args)
        {
            cjcAccountTerminator cjcAccountTerm = new cjcAccountTerminator();

            switch (args[0])
            {
                case "update":
                    cjcAccountTerm.LoginToMyBilling();
                    break;
                case "notepad":
                    cjcAccountTerm.UpdateCustomerData(args[1], args[2]);
                    break;
                case "terminate":
                    cjcAccountTerm.TerminateAccount(args[1]);
                    break;
            }
        }        
    }
}
6
задан Jeffrey L. Roberts 16 January 2012 в 21:54
поделиться