Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Avalon

Vista - Do WPF apps and the CLRProfiler hate each other?

 
 
Old 02-08-2006   #1 (permalink)
MueMeister


 
 

Do WPF apps and the CLRProfiler hate each other?

Hi friends,

I'm new on working with the CLRProfiler in .NET. I want to profile
resources of my WPF apps but this seems not to work correctly.
When clicking "Start Application ..." on the profiler panel and
selecting the *.exe, my WPF app starts runnung. Instead the CLRProfiler
does nothing at all! There is a message box showing up: "Waiting for
application to start common language runtime" - the profiler keeps
waiting and waiting and waiting.
I searched the internet and newsgroups and only found similar problems
when working with ASP.NET apps (not helpful for me). I also read the
CLRProfiler.doc and looked into the PDC05 and "HandsOnLabs Jan CTP"
sessions but without any success.

Anybody the same experience and already has a solution for it? Perhaps
there's only a DWORD missing in the registry? Or other kind of
parameter? (maybe it is because of differences in using .NET 2.0)

Thanks
Chris :-)

My System SpecsSystem Spec
Old 02-08-2006   #2 (permalink)
Drew Marsh


 
 

Re: Do WPF apps and the CLRProfiler hate each other?

MueMeister wrote:

> I'm new on working with the CLRProfiler in .NET. I want to profile
> resources of my WPF apps but this seems not to work correctly.
> When clicking "Start Application ..." on the profiler panel and
> selecting the *.exe, my WPF app starts runnung. Instead the
> CLRProfiler
> does nothing at all! There is a message box showing up: "Waiting for
> application to start common language runtime" - the profiler keeps
> waiting and waiting and waiting.
> I searched the internet and newsgroups and only found similar problems
> when working with ASP.NET apps (not helpful for me). I also read the
> CLRProfiler.doc and looked into the PDC05 and "HandsOnLabs Jan CTP"
> sessions but without any success.
> Anybody the same experience and already has a solution for it? Perhaps
> there's only a DWORD missing in the registry? Or other kind of
> parameter? (maybe it is because of differences in using .NET 2.0)


Theoretically it shouldn't know the difference between WPF or any other .NET
app. Perhaps this is a silly question, but I'll throw it out there just to
make sure: Are sure you're using the CLR Profiler for .NET 2.0[1] and not
1.x???

Cheers,
Drew

[1] http://www.microsoft.com/downloads/d...displaylang=en

___________________________________
Drew Marsh
Chief Software Architect
Mimeo.com, Inc. - http://www.mimeo.com
Microsoft C# / WPF MVP
Weblog - http://blog.hackedbrain.com/


My System SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
hate this! Vista mail
Re: I HATE VISTA Vista General
I don't hate Vista Vista General
I too hate new mail Vista mail
Just Hate It ! Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46