Reputation: 12481
I'm trying to start a Windows console application under Linux using monodevelop. Everything compiles just fine and in general looks OK but then the following exception is thrown:
System.Configuration.ConfigurationException: Unrecognized element 'performanceCounters'.
I'm not sure if I am missing a reference or if this is something that just doesn't work under mono.
Upvotes: 0
Views: 913
Reputation: 2517
The <performanceCounters />
element in the System.Diagnostics app.config section is currently not processed on Mono, so it raises an exception. I sent a pull request to fix this.
Note that the value set by the element isn't used in Mono, so it has no effect.
Upvotes: 1