Integrates .NET Reflector into Visual Studio to allow you to seamlessly debug into third-party code and assemblies, even if you don't have the source code for them.
Visit www.reflector.net for more information.
Copyright (c) 2009-2015 Red Gate Software Inc.
While this extension can be very useful in some situations, I'd generally recommend leaving it disabled until you actually need it. It has a very noticeable negative impact on debugging performance and also contains bugs like the F10 key (step over) focusing Visual Studio's menu bar when you press it too quickly, further slowing down the debugging experience.
If your trial expires .NET Reflector will cause VS to crash if you try to change solutions or connect to a TFS server.
On top of that the 'Deactivate' menu item is deactivated! WTF?? You can't click on it. If you try to uninstall the plugin you will get an error saying you don't have sufficient permissions even if you're an administrator.
The only thing that is really helpful and which free tools don’t offer is the ability to debug an assembly with no PDB provided. However, Red Gate did manage to break even this only good thing with the recent update, making debugging in VS 2012 nearly impossible (extremely slow and unstable) even with no decompiled assemblies at all: http://forums.reflector.net/questions/4642/vs-debugger-extremely-slow-after-the-latest-update.html Besides that, the product has ZERO support and no ability to roll back to a previous (minor) release. In fact, there is even no such thing as a release archive. At least it is not discoverable on their AWFUL web site - just look on THAT: http://documentation.red-gate.com/display/REF8/.NET+Reflector+8+documentation (they call it “Support”, as it states on the main product page: http://www.red-gate.com/products/dotnet-development/reflector). Apparently, Red Gate concentrates all the efforts on stuffing Reflector full with bells & whistles instead of to ensure the most (and only) helpful functions just really work.
I hope this message finds you well!
There is now a beta release of .NET Reflector that should fix the VS 2015 issues, available here: http://download.red-gate.com/EAP/ReflectorInstaller/ReflectorInstaller_188.8.131.52.exe
Please give it a try and let me know if any issues persist.
@Frode - Sticos -- So very sorry, I hadn't received an update so I didn't see your post until now!
I'm happy to report though that .NET Reflector 9 has been officially released and you can update from your version 8 instance (Help>Check for updates) or via the installer here: ftp://support.red-gate.com/patches/ReflectorInstaller/16Nov2015/ReflectorInstaller_184.108.40.206.zip
Apologies for any troubles caused.
My trial expired and now whenever I try to change solutions or connect to a TFS server .NET Reflector causes a crash.
The deactivate menu item is deactivated. WTF???
When I try to uninstall the plugin I get an error saying I don't have sufficient permissions even though I'm an Administrator.
We've seen some cases of this crashing when changing solutions which can happen due to an expired .NET Reflector trial--apologies as I realize what an inconveniencing issue this can be! If you're not using .NET Reflector anymore, you should be able to just uninstall it from Tools>Extensions and Updates (or Tools>Extension manager on VS 2010). Just to confirm though, is it when you try to uninstall from within VS or from Control Panel that you get the error about insufficient permissions? Does running either explicitly as administrator allow you to uninstall? (Though you're an administrator, UAC may stil block some operations if it's enabled). Please let me know!
I'm using .NET Reflector and ReSharper and have source server support enabled.
Now, when I use "Open in .NET Reflector Desktop" ReSharper starts to download the PDBs and when that's done, Reflector says there is already source code on my system and opens that one in VS Studio. That is not what I would expect from a menu option labeled "Open in .NET Reflector Desktop". Please provide a separate option that will always open the specified member in .NET Reflector.
Many thanks, Michael
I have a similar issue now when I upgraded to VS 2015, whatever I try to open in Desktop is stopped by that message. The opened window in VS is showing the class "recreated" from metadata with only method signatures (I don't know the cause for this)
There is a bug in VS2015 pre-RTM that flags the VSIX download as 'Invalid certificate...' or '... contains an onsolete algorithm', depending on the method of install. It works fine for VS2013 through VS2015 RC as far as I can tell. There is a related Microsoft Connect bug that you can track for this issue: https://connect.microsoft.com/VisualStudio/feedback/details/1547846/invalid-certificate-obsolete-algorithm
So sorry you've still been experiencing issues with .NET Reflector! The only version with known chronic crashing is v8.3.0, though there is one known issue that still exists where an expired .NET Reflector trial can cause Visual Studio to crash when closing or switching solutions (apologies as I realize what an inconveniencing issue this can be!). Can I just make sure - is the extension successfully activated? (if you go to .NET Reflector>Help, it should provide an option to 'Deactivate')
If it is definitely activated though, can you kindly provide more details on how .NET Reflector is crashing VS? Does it happen as soon as you open VS/particular solutions or maybe when you enable debugging on assemblies? Are there any error details in Event Viewer?
Thanks for your post!
There's no specific support that was added for debugging WinRT solutions, though .NET Reflector will still work with them, at least for debugging into any standard managed DLLs that are referenced and used by the solution.
However, there are known issues with metadata files (.winmd), including the "Windows 8.x" reference of any WinRT solution. Reflector is unfortunately unable to decompile and debug into these. (There is a bug though that will still offer the option to enable debugging on winmd files even though the request will fail--apologies for any confusion caused by this!)
I've found an issue that I could reproduce on both machines on which I tested this:
Debug Just My Code is diabled.
When I try to attach Visual Studio debugger to the already running IISExpress process, I receive "Unable to attach to the process. Catastrophic Failure". By trial and error I finally figured out that it is related to Reflector. If the add in is disabled, attaching works.
Further analysis shows that if I set the "Just my Code" flag, attaching will work. Same goes for attaching to an IISExpress process that was previously attached to with a debugger.
Also, starting via "Debug > Start new instance" works, but of course, that's not the same as attaching to a running process.
I'm guessing that Reflector is doing something (or trying to) with the jitted code of IISExpress or the .NET Framework assemblies that won't work if the process is already running. Could you please fix this issue because working around it is a real hassle.
To me, personally, it would be okay, if the .NET Reflector addIn would offer separate options for enabling VS-Go-To-Reflector and Debugger Integration because I actually usually only need the first one.
Best regards, Michael
Thanks for your post and sorry to hear you're running into issues with Reflector!
I tried reproducing this with the specs and steps you provided but haven't been able to yet, I'm afraid.
There weren't any major changes with version 8.4 (it mainly added VS2014 support) but in case something about that version is conflicting with your machines or VS installs, can you please try reinstalling v8.3 to see if the problem persists? ftp://ftp.red-gate.com/ReflectorInstaller.zip
Can I also just check--does this happen with any application running in IIS Express?
And regarding the separate options, we used to offer different editions of Reflector that did this--I'll pass on your feedback that you'd like to bring that back. :)
Your idea with the different applications was spot on. It literally only happens when one particular page of my application was the last page processed by IIS Express right before I attach the debugger. Unfortunately, that page was also the one I most often try to debug so it never popped up anywhere else.
Version 8.3 and 8.4 don't make a difference. I did notice though, that version 8.4 still identifies itself as 8.3 in the isntaller and the Programs Window. Looks like a missed version number in the installer to me.
Anyhow, I'll keep an eye out for the issue and if I manage to triage it into a simple repro-case, I'll get back to you with it. For now, I'll just have to remember to do a different request before starting the debugger. No biggie.
Best regards, Michael
After using it only one time - (a) install, (b) checking out functionalities, and (c) deinstallating - it was not possible to use Windows SDK again.
Installing of Visual Studio 2012 failed, because of the fact .Net is not installed, BUT IT IS!
Installing of Visual Studio 2013 failed, because of the fact .Net is not installed, BUT IT IS!
I guess that this .Net Reflector has changed pathes in the registry or some assemblies which make it not possible to develop any Windows application which are using .Net!!! It's a shame!
So sorry for all this trouble .NET Reflector caused!
From your trial, do you recall if you enabled debugging on a framework assembly that required .NET Reflector to alter your DEVPATH? It sounds like the DEVPATH was altered but may not have been reset after your debugging session.
(Reflector needs to alter the DEVPATH when you enable enable debugging on a assembly that doesn't have a debugging signature. Reflector will make a copy of the assembly with the added signature and place it in the Reflector DEVPATH folder. If you don't "reset the DEVPATH" after debugging, any program that uses that assembly will continue trying to load that edited assembly from the DEVPATH folder, although .NET Reflector likely already deleted it after debugging was finished.)
I know you've already reinstalled Windows now (so sorry again for this inconvenience), but in case you ever give Reflector another try and run into this issue again, you can reset the DEVPATH from the VS menu (.NET Reflector > Reset the DEVPATH).
Or if in any case you've gotten rid of the DEVPATH environment variable, you can instead go into the Reflector distribution directory and run "RedGate.Reflector.DevPathSetter.exe /reset"
Again, my apologies that we weren't able to help with this issue in time.