[Mono-list] Runing NUnit with version 1.2.9

Rolando Martinez rolandomartinezg at gmail.com
Sun Aug 3 01:12:28 EDT 2008


Hi all,
I downloaded the version number 1.9.1 of Mono and but when I try run some
assembly using NUnit I got the next error message.

Thank you for your help!

Unhandled Exception: System.ArgumentException: Encoding name 'Windows-1252'
not supported
Parameter name: name
  at System.Text.Encoding.GetEncoding (System.String name) [0x00000]
  at System.Xml.XmlInputStream.Initialize (System.IO.Stream stream)
[0x00000]
  at System.Xml.XmlInputStream..ctor (System.IO.Stream stream) [0x00000]
  at (wrapper remoting-invoke-with-check) System.Xml.XmlInputStream:.ctor
(System.IO.Stream)
  at System.Xml.XmlStreamReader..ctor (System.IO.Stream input) [0x00000]
  at (wrapper remoting-invoke-with-check) System.Xml.XmlStreamReader:.ctor
(System.IO.Stream)
  at System.Xml.XmlTextReader..ctor (System.IO.Stream input) [0x00000]
  at System.Configuration.Configuration.Load () [0x00000]
  at System.Configuration.Configuration.Init (IConfigSystem system,
System.String configPath, System.Configuration.Configuration parent)
[0x00000]
  at System.Configuration.Configuration..ctor
(System.Configuration.InternalConfigurationSystem system, System.String
locationSubPath) [0x00000]
  at System.Configuration.InternalConfigurationFactory.Create (System.Type
typeConfigHost, System.Object[] hostInitConfigurationParams) [0x00000]
  at System.Configuration.ConfigurationManager.OpenExeConfigurationInternal
(ConfigurationUserLevel userLevel, System.Reflection.Assembly
calling_assembly, System.String exePath) [0x00000]
  at
System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection
(System.String configKey) [0x00000]
  at System.Configuration.ConfigurationManager.GetSection (System.String
sectionName) [0x00000]
  at System.Configuration.ConfigurationSettings.GetConfig (System.String
sectionName) [0x00000]
  at System.Diagnostics.DiagnosticsConfiguration.get_Settings () [0x00000]
  at System.Diagnostics.Switch.GetConfigFileSetting () [0x00000]
  at System.Diagnostics.Switch.get_SwitchSetting () [0x00000]
  at System.Diagnostics.TraceSwitch.get_TraceInfo () [0x00000]
  at NUnit.Core.NTrace.Info (System.String message) [0x00000]
  at NUnit.ConsoleRunner.Runner.Main (System.String[] args) [0x00000]
  at NUnit.ConsoleRunner.Class1.Main (System.String[] args) [0x00000]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080803/80b4c4f8/attachment-0001.html 


More information about the Mono-list mailing list