nebulom wrote:
Code:
TestCase 'NBulletin.Commands.Test.CommandTest.Test1'
failed: System.TypeInitializationException : The type initializer for "NBulletin.Utilities.ConfigurationSingleton" threw an exception.
----> System.Xml.XmlException : This is an unexpected token. The expected token is 'NAME'. Line 3, position 53.
at NBulletin.Utilities.ConfigurationSingleton.get_Instance()
It might mean that the xml file beeing read (app.config, for example) contains a little bit "invalid" XML for NBulletin.Utilities.ConfigurationSingleton class.
I havn't done much work with .Net configuration, but (in case I remember correctly) if accessed trought typed class, it requires that the attributes are in exacty correct order, no omissions, no additions. It might be possible to tweak them using attributes.
Gert