1

Closed

Sometimes WPF 4.0 Applications Don't Show Up in the App Chooser

description

See this discussion item for more info: http://snoopwpf.codeplex.com/Thread/View.aspx?ThreadId=236335

Sometimes, neither PresentationFramework.dll ... nor PresentationFramework.ni.dll show up as modules for the process you are trying to Snoop. Add wpfgfx_v0400.dll to the list of modules to use in order to determine whether the application is a WPF application.
Closed Dec 16, 2010 at 5:54 PM by

comments

wrote Dec 16, 2010 at 5:54 PM

Resolved with changeset 59979.

cproch wrote Dec 17, 2010 at 1:47 PM

I think it must have to do with some sort of optimization the .NET CLR ist doing in version 4.
Thinking of ngen'd assemblies.

awerner wrote Dec 20, 2010 at 11:16 AM

Hi,

I tried to add the dll to the wpfgfx_v0400.dll to Injector.Suffix() and WindowInfo.IsValidProcess. That didn't work. But I guess I screwed up other things while figuring out what is happening. So I just grabbed the new source from codeplex, build the app and was happy that it worked at once.

Thanks a lot guys. Good work!

cplotts wrote Dec 20, 2010 at 2:32 PM

awerner: I'm glad that to hear that the fix is working for you!