In all of my searching, I've only been able to find this one link that suggests the old CLR Profiler for .NET 2.0 should work with .NET 3.0 or 3.5 applications.
When I try and profile my .NET 3.5 SP1 WPF application with the CLR Profiler for .NET 2.0 it starts up my application just fine, but it throws up a dialog that says "Waiting for application to start common language runtime".
Since my application clearly uses the CLR, I can only conclude that the CLR Profiler for .NET 2.0 does not work with newer versions of the framework (maybe it's just a problem with 3.5 SP1 apps).
So, does anyone know if there is a version of the CLR profiler that works with 3.5 SP1? If there isn't a version of Microsoft's profiler, is there another free profiler that I could use that has similar functionality?
I just tried running CLR Profiler with a WPF application, and it works fine. It takes a while for the application to start (longer than with non-WPF applications, it feels like), but it works.
Update: just to keep the answer up to date; according to the comments below, the solution was to run the CLR Profiler with administrative rights.
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