Red Gate forums :: View topic - The Assembly XXX is not the one .Net Reflector expected
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
.Net Reflector 6.x and .NET Reflector 6.x Pro
.Net Reflector 6.x and .NET Reflector 6.x Pro forum

The Assembly XXX is not the one .Net Reflector expected

Search in .Net Reflector 6.x and .NET Reflector 6.x Pro forum
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Jump to:  
Author Message
Kapoue



Joined: 14 Jan 2011
Posts: 1

PostPosted: Fri Jan 14, 2011 2:22 pm    Post subject: The Assembly XXX is not the one .Net Reflector expected Reply with quote

Hello,

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


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

Thanks in advance

Benjamin
Back to top
View user's profile Send private message
Clive Tong



Joined: 04 Dec 2008
Posts: 283

PostPosted: Mon Jan 17, 2011 9:55 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
CleverCoder



Joined: 12 May 2010
Posts: 8

PostPosted: Wed Jan 26, 2011 8:50 pm    Post subject: Reply with quote

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. Smile

Cheers!
-Sean
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies. All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group