Reflector 10 not working in VS 2017
Tinu
Posts: 5 Bronze 1
Go To Decompiled Definition (F12) is not working. Pressing F12 shows only '... from metadat', not the decompiled source, Go to Decompiled Definition in contextmenu does nothing... Uninstall/Install Extension/.Net Reflector does not help... .Net Reflector Object Browser in VS is working.
VS 2017 Enterprise, Version 15.7.5
.Net Reflector 10.0.6.546
.Net Reflector VS Extension 10.0.7.560 VSPro
Tagged:
Answers
Just to confirm, is it failing for every type you try on (even string, int, etc...)? Or is it only failing for certain types?
If the latter, are there any framework objects that we can test with here?
Thank you!
Jessica Ramos | Product Support Engineer | Redgate Software
Have you visited our Help Center?
Hi
No type or Method is working. When I press F12, Visual Studio schows the metadata, it seems, that Reflector does not capture F12. Even 'Go To Decompiled Definition' in the context-menu (right-click) does nothing! Open in .Net Reflector Desktop shows only the metadata from Visual-Studio. Only .Net Reflector Object Browser ist working...
Thanks for those details, @Tinu!
Just to clarify, the "Go To Decompiled Definition" option will actually only work when you use it from within a file that .NET Reflector generated (it should have a comment at the top //Generated by .NET Reflector from...).
The "Open in .NET Reflector Desktop" should always work, but it appears there is a bug with this, where it's also only working when you use it from within a file that was generated by .NET Reflector (and opens the metadata file otherwise). Apologies for this! I've logged a bug with reference RP-3979.
The "Go to definition (F12)" option should be working for everything though (I did a quick test with NewGuid() as well to make sure that was working for me, and it was able to decompile). In case your install is corrupted, can you kindly try uninstalling and then reinstalling the latest .NET Reflector extension from here: https://marketplace.visualstudio.com/items?itemName=vs-publisher-306627.NETReflectorVisualStudioExtension
If the problem remains though, can we please check what other VS extensions you have installed (if any)?
Jessica Ramos | Product Support Engineer | Redgate Software
Have you visited our Help Center?
Thanks for your posts and sorry this "open in .NET Reflector Desktop" issue isn't fixed yet! I'm following up on this with our developers.
Regarding "Go to Decompiled definition" @davidjade, this will only work from within a file that was created by .NET Reflector. F12 will work either way (but you do need to make sure you have the GoToDefinition (F12) override enabled from the .NET Reflector menu).
Is "Go to Decompiled definition" failing on a Reflector-generated file? Can you let us know what type it's failing on so we can try to reproduce this?
@rjperes, it sounds like you may be running into a different issue. Could you please share a screenshot of what you were seeing?
Thanks!
Jessica Ramos | Product Support Engineer | Redgate Software
Have you visited our Help Center?
F12 is still not working for me (Pressing_F12.png, Result_Pressing_F12.png). I Add also screenshots of my installed extensions.
Microsoft Visual Studio Enterprise 2017, Version 15.8.9
.NET Reflector, Version 10.1.0.1125 Pro (Extension = same Version)
@Tinu, can I first just confirm that the menu option .NET Reflector>GoToDefinition (F12) is enabled?
If it is, can I also just check if F12 is opening the metadata for every type you try on, in any solution? (Even in a new solution, trying on "string"?)
Jessica Ramos | Product Support Engineer | Redgate Software
Have you visited our Help Center?