.NET 2.x Ряд ошибок - C#

Узнай цену своей работы

Формулировка задачи:

Добрый день. в закромах нашел одну программу, точнее эмулятор сервера, захотелось поностальгировать и скомпилировать его. Поставил Sharp Developer, само ядро собралось, а код остальной не хочет... Сам сервер на ходу при запуске компилирует файлы и запускается. выдает такие ошибки... Прошу Вашей помощи, помогите скомпилировать сервер,а ? не пойму, почему раньше собирался а теперь не хочет... может дело в ОС ?
System.Exception: Compilation failed:
c:\Users\1\Desktop\WowwoW - Version 8.0 - 07.2006\WowwoW\bin\Debug\Scripts\Engines\Commands\core\Implementors\PropsChecker.cs(49,34) : warning CS0618: "System.Collections.CaseInsensitiveHashCodeProvider" является устаревшим: "Please use StringComparer instead."
c:\Users\1\Desktop\WowwoW - Version 8.0 - 07.2006\WowwoW\bin\Debug\Scripts\Engines\Commands\core\Implementors\PropsChecker.cs(49,19) : warning CS0618: "System.Collections.Hashtable.Hashtable(System.Collections.IHashCodeProvider, System.Collections.IComparer)" является устаревшим: "Please use Hashtable(IEqualityComparer) instead."
c:\Users\1\Desktop\WowwoW - Version 8.0 - 07.2006\WowwoW\bin\Debug\Scripts\Engines\Commands\core\Implementors\PropsChecker.cs(50,21) : warning CS0618: "System.Collections.Hashtable.Hashtable(System.Collections.IHashCodeProvider, System.Collections.IComparer)" является устаревшим: "Please use Hashtable(IEqualityComparer) instead."
c:\Users\1\Desktop\WowwoW - Version 8.0 - 07.2006\WowwoW\bin\Debug\Scripts\Engines\Commands\core\Commands.cs(300,31) : warning CS0618: "System.Collections.CaseInsensitiveHashCodeProvider" является устаревшим: "Please use StringComparer instead."
c:\Users\1\Desktop\WowwoW - Version 8.0 - 07.2006\WowwoW\bin\Debug\Scripts\Engines\Commands\core\Commands.cs(300,16) : warning CS0618: "System.Collections.Hashtable.Hashtable(System.Collections.IHashCodeProvider, System.Collections.IComparer)" является устаревшим: "Please use Hashtable(IEqualityComparer) instead."
c:\Users\1\Desktop\WowwoW - Version 8.0 - 07.2006\WowwoW\bin\Debug\Scripts\Engines\Commands\core\Propertis.cs(212,31) : warning CS0618: "System.Collections.CaseInsensitiveHashCodeProvider" является устаревшим: "Please use StringComparer instead."
c:\Users\1\Desktop\WowwoW - Version 8.0 - 07.2006\WowwoW\bin\Debug\Scripts\Engines\Commands\core\Propertis.cs(212,16) : warning CS0618: "System.Collections.Hashtable.Hashtable(System.Collections.IHashCodeProvider, System.Collections.IComparer)" является устаревшим: "Please use Hashtable(IEqualityComparer) instead."
c:\Users\1\Desktop\WowwoW - Version 8.0 - 07.2006\WowwoW\bin\Debug\Scripts\Engines\Commands\core\Propertis.cs(213,19) : warning CS0618: "System.Collections.Hashtable.Hashtable(System.Collections.IHashCodeProvider, System.Collections.IComparer)" является устаревшим: "Please use Hashtable(IEqualityComparer) instead."
c:\Users\1\Desktop\WowwoW - Version 8.0 - 07.2006\WowwoW\bin\Debug\Scripts\Engines\Commands\core\Propertis.cs(320,31) : warning CS0618: "System.Collections.CaseInsensitiveHashCodeProvider" является устаревшим: "Please use StringComparer instead."
c:\Users\1\Desktop\WowwoW - Version 8.0 - 07.2006\WowwoW\bin\Debug\Scripts\Engines\Commands\core\Propertis.cs(320,16) : warning CS0618: "System.Collections.Hashtable.Hashtable(System.Collections.IHashCodeProvider, System.Collections.IComparer)" является устаревшим: "Please use Hashtable(IEqualityComparer) instead."
c:\Users\1\Desktop\WowwoW - Version 8.0 - 07.2006\WowwoW\bin\Debug\Scripts\Engines\Commands\core\Propertis.cs(321,19) : warning CS0618: "System.Collections.Hashtable.Hashtable(System.Collections.IHashCodeProvider, System.Collections.IComparer)" является устаревшим: "Please use Hashtable(IEqualityComparer) instead."
c:\Users\1\Desktop\WowwoW - Version 8.0 - 07.2006\WowwoW\bin\Debug\Scripts\Engines\Commands\Misc\Inc.cs(28,40) : warning CS0162: Обнаружен недостижимый код
c:\Users\1\Desktop\WowwoW - Version 8.0 - 07.2006\WowwoW\bin\Debug\Scripts\Engines\Konsole\Scripts\createaccount.cs(46,4) : error CS0012: Тип "System.Xml.XmlNode" определен в сборке, ссылка на которую отсутствует. Следует добавить ссылку на сборку "System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089".
c:\Users\1\Desktop\WowwoW - Version 8.0 - 07.2006\WowwoW\bin\Debug\Scripts\Engines\Konsole\Scripts\createaccount.cs(46,4) : error CS0012: Тип "System.Xml.XmlDocument" определен в сборке, ссылка на которую отсутствует. Следует добавить ссылку на сборку "System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089".
c:\Users\1\Desktop\WowwoW - Version 8.0 - 07.2006\WowwoW\bin\Debug\Scripts\Engines\Konsole\Scripts\info.cs(39,59) : warning CS0618: "System.Diagnostics.Process.WorkingSet" является устаревшим: "This property has been deprecated.  Please use System.Diagnostics.Process.WorkingSet64 instead.  http://go.microsoft.com/fwlink/?linkid=14202"
c:\Users\1\Desktop\WowwoW - Version 8.0 - 07.2006\WowwoW\bin\Debug\Scripts\Engines\Konsole\Scripts\info.cs(40,61) : warning CS0618: "System.Diagnostics.Process.PeakWorkingSet" является устаревшим: "This property has been deprecated.  Please use System.Diagnostics.Process.PeakWorkingSet64 instead.  http://go.microsoft.com/fwlink/?linkid=14202"
c:\Users\1\Desktop\WowwoW - Version 8.0 - 07.2006\WowwoW\bin\Debug\Scripts\Engines\Konsole\Scripts\info.cs(41,61) : warning CS0618: "System.Diagnostics.Process.VirtualMemorySize" является устаревшим: "This property has been deprecated.  Please use System.Diagnostics.Process.VirtualMemorySize64 instead.  http://go.microsoft.com/fwlink/?linkid=14202"
c:\Users\1\Desktop\WowwoW - Version 8.0 - 07.2006\WowwoW\bin\Debug\Scripts\Engines\Konsole\Scripts\info.cs(42,60) : warning CS0618: "System.Diagnostics.Process.PeakVirtualMemorySize" является устаревшим: "This property has been deprecated.  Please use System.Diagnostics.Process.PeakVirtualMemorySize64 instead.  http://go.microsoft.com/fwlink/?linkid=14202"
c:\Users\1\Desktop\WowwoW - Version 8.0 - 07.2006\WowwoW\bin\Debug\Scripts\Engines\Konsole\Scripts\info.cs(43,59) : warning CS0618: "System.Diagnostics.Process.NonpagedSystemMemorySize" является устаревшим: "This property has been deprecated.  Please use System.Diagnostics.Process.NonpagedSystemMemorySize64 instead.  http://go.microsoft.com/fwlink/?linkid=14202"
c:\Users\1\Desktop\WowwoW - Version 8.0 - 07.2006\WowwoW\bin\Debug\Scripts\Engines\Konsole\Scripts\info.cs(44,61) : warning CS0618: "System.Diagnostics.Process.PagedMemorySize" является устаревшим: "This property has been deprecated.  Please use System.Diagnostics.Process.PagedMemorySize64 instead.  http://go.microsoft.com/fwlink/?linkid=14202"
c:\Users\1\Desktop\WowwoW - Version 8.0 - 07.2006\WowwoW\bin\Debug\Scripts\Engines\Konsole\Scripts\info.cs(45,59) : warning CS0618: "System.Diagnostics.Process.PrivateMemorySize" является устаревшим: "This property has been deprecated.  Please use System.Diagnostics.Process.PrivateMemorySize64 instead.  http://go.microsoft.com/fwlink/?linkid=14202"
c:\Users\1\Desktop\WowwoW - Version 8.0 - 07.2006\WowwoW\bin\Debug\Scripts\Engines\Konsole\ConsoleCommander.cs(418,58) : warning CS0618: "System.Diagnostics.Process.WorkingSet" является устаревшим: "This property has been deprecated.  Please use System.Diagnostics.Process.WorkingSet64 instead.  http://go.microsoft.com/fwlink/?linkid=14202"
c:\Users\1\Desktop\WowwoW - Version 8.0 - 07.2006\WowwoW\bin\Debug\Scripts\Engines\Konsole\ConsoleCommander.cs(419,60) : warning CS0618: "System.Diagnostics.Process.PeakWorkingSet" является устаревшим: "This property has been deprecated.  Please use System.Diagnostics.Process.PeakWorkingSet64 instead.  http://go.microsoft.com/fwlink/?linkid=14202"
c:\Users\1\Desktop\WowwoW - Version 8.0 - 07.2006\WowwoW\bin\Debug\Scripts\Engines\Konsole\ConsoleCommander.cs(420,60) : warning CS0618: "System.Diagnostics.Process.VirtualMemorySize" является устаревшим: "This property has been deprecated.  Please use System.Diagnostics.Process.VirtualMemorySize64 instead.  http://go.microsoft.com/fwlink/?linkid=14202"
c:\Users\1\Desktop\WowwoW - Version 8.0 - 07.2006\WowwoW\bin\Debug\Scripts\Engines\Konsole\ConsoleCommander.cs(421,59) : warning CS0618: "System.Diagnostics.Process.PeakVirtualMemorySize" является устаревшим: "This property has been deprecated.  Please use System.Diagnostics.Process.PeakVirtualMemorySize64 instead.  http://go.microsoft.com/fwlink/?linkid=14202"
c:\Users\1\Desktop\WowwoW - Version 8.0 - 07.2006\WowwoW\bin\Debug\Scripts\Engines\Konsole\ConsoleCommander.cs(422,58) : warning CS0618: "System.Diagnostics.Process.NonpagedSystemMemorySize" является устаревшим: "This property has been deprecated.  Please use System.Diagnostics.Process.NonpagedSystemMemorySize64 instead.  http://go.microsoft.com/fwlink/?linkid=14202"
c:\Users\1\Desktop\WowwoW - Version 8.0 - 07.2006\WowwoW\bin\Debug\Scripts\Engines\Konsole\ConsoleCommander.cs(423,60) : warning CS0618: "System.Diagnostics.Process.PagedMemorySize" является устаревшим: "This property has been deprecated.  Please use System.Diagnostics.Process.PagedMemorySize64 instead.  http://go.microsoft.com/fwlink/?linkid=14202"
c:\Users\1\Desktop\WowwoW - Version 8.0 - 07.2006\WowwoW\bin\Debug\Scripts\Engines\Konsole\ConsoleCommander.cs(424,58) : warning CS0618: "System.Diagnostics.Process.PrivateMemorySize" является устаревшим: "This property has been deprecated.  Please use System.Diagnostics.Process.PrivateMemorySize64 instead.  http://go.microsoft.com/fwlink/?linkid=14202"
c:\Users\1\Desktop\WowwoW - Version 8.0 - 07.2006\WowwoW\bin\Debug\Scripts\Engines\Konsole\KonsoleCommands.cs(14,58) : warning CS0618: "System.Collections.CaseInsensitiveHashCodeProvider" является устаревшим: "Please use StringComparer instead."
c:\Users\1\Desktop\WowwoW - Version 8.0 - 07.2006\WowwoW\bin\Debug\Scripts\Engines\Konsole\KonsoleCommands.cs(14,44) : warning CS0618: "System.Collections.Hashtable.Hashtable(System.Collections.IHashCodeProvider, System.Collections.IComparer)" является устаревшим: "Please use Hashtable(IEqualityComparer) instead."

   в Server.MainConsole.BuildDll(String path, String[] refs) в c:\Users\1\Desktop\WowwoW - Version 8.0 - 07.2006\WowwoW\MainConsole.cs:строка 432
   в Server.MainConsole.BuildAllDlls() в c:\Users\1\Desktop\WowwoW - Version 8.0 - 07.2006\WowwoW\MainConsole.cs:строка 336
   в Server.MainConsole.Main(String[] args) в c:\Users\1\Desktop\WowwoW - Version 8.0 - 07.2006\WowwoW\MainConsole.cs:строка 128
По первой ошибке, вот строка 49
    m_CmdEntries = new Hashtable( CaseInsensitiveHashCodeProvider.Default, CaseInsensitiveComparer.Default );
Пожалуйста , помогите...
пытался заменить его на StringComparer, но ничего не получается...

Решение задачи: «.NET 2.x Ряд ошибок»

textual
Листинг программы
XmlDocument xmlDoc = new XmlDocument();

Оцени полезность:

9   голосов , оценка 4.444 из 5