[Mono-list] Runing NUnit with version 1.2.9

Charlie Poole charlie at nunit.com
Sun Aug 3 06:32:38 EDT 2008


Just modify  NUnit's config file to use UTF-8.


  _____  

From: mono-list-bounces at lists.ximian.com
[mailto:mono-list-bounces at lists.ximian.com] On Behalf Of Rolando Martinez
Sent: Saturday, August 02, 2008 10:12 PM
To: mono-list at lists.ximian.com
Subject: [Mono-list] Runing NUnit with version 1.2.9


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/ea0aae3f/attachment.html 


More information about the Mono-list mailing list