When I try to run this code:
var categories = System.Diagnostics.PerformanceCounterCategory.GetCategories();
I get an ArgumentException exception.
I already tried the following with no luck:
I get the same result whether I run Visual Studio 2008, 2010 or 2012, on a Windows 7 Enterprise SP1 64-bit computer.
I will appreciate any help.
Thank you.
Had the same problem.
This was on a machine that had an NVidia Quadro 2000 card.
Uninstalling the "NVidia WMI" product solved the issue... :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With