The Assembly XXX is not the one .Net Reflector expected

Explore, browse and analyze .NET assemblies

Moderators: Luke Jefferson, Charles Brown, StephenC, Alex.Davies, Greg.Tillman, melvyn.harbour

The Assembly XXX is not the one .Net Reflector expected

Postby Kapoue » Fri Jan 14, 2011 2:22 pm

Hello,

I have reflector Pro but when I decompile my dll I have this error message:
Image

And even if I do "undo reference switch" I still have this error.

Thanks in advance

Benjamin
Kapoue
 
Posts: 1
Joined: Fri Jan 14, 2011 2:15 pm

Postby Clive Tong » Mon Jan 17, 2011 9:55 am

Hi.

When the application is being debugged, please could you look in the Modules window and see if there is a pdb associated with the assembly that's giving the warning.

Thanks.
Clive Tong
 
Posts: 283
Joined: Thu Dec 04, 2008 5:42 pm

Postby CleverCoder » Wed Jan 26, 2011 8:50 pm

This is super annoying and I've hit it more often than not. This combined with the opening/closing of the debug window has caused me to leave the addin turned off unless I'm using it.

With that said, I do have a suggestion that works for me. I think the toggling of ".NET Framework Source Stepping" is the trigger that confuses the internal PDB module laoding list. Before entering the debug session, go to the "Choose Assemlies to Debug..." menu option and let it load. You should see all the assemblies that you already selected are currently selected. Just hit OK (Continue?)!

It churns for a minute, hopefully without complaining about locked files.. and it shouldn't take very long. A few seconds later it finished. When I kicked off my app and set some breakpoints, I was no longer getting that annoying SET of dialog boxes. Maybe they should add a check when you go to debug an app that validates the PDB paths / lists, or whatever.

Hope this helps! I know it greatly reduced my stress level. I might even leave the addin enabled most of the time now. :)

Cheers!
-Sean
CleverCoder
 
Posts: 8
Joined: Wed May 12, 2010 4:18 pm


Return to .Net Reflector 6.x and .NET Reflector 6.x Pro

Who is online

Users browsing this forum: No registered users and 0 guests