1

I have Visual Studio 2022, and Resharper Ultimate. I work on game mods, so I often need to look at the original code in order to make decisions. Generally, this comes in the form of decompiled sources.

For years now, I've been navigating using the Object Browser window. I look up a class in there, then do Go to declaration (alternatively, Go to implementation). This has always brought me to the decompiled sources, and often decompiling them live in front of me if they weren't already so.

Today, I'm not sure what changed. Now these buttons instead just focus my view on the window "Assembly Explorer". If it is closed, it gets reopened. But even in that window, it does not find and focus on the symbol I was looking at. It just places the cursor on the assembly, which is completely pointless to me.

I know the decompiler still works, because if I then navigate from within the Assembly Explorer, to that same symbol, and do Go to declaration from there, it successfully does the decompiling, the way I'm used to.

Am I running into a bug, or is there a setting somewhere I can fix to restore the behavior where the Object Browser could take me to actual code, instead of always assemblies?

What I've tried:

  • Updating Resharper
  • Updating Visual Studio (this has reset my settings, and it has then asked me my decompilation preference when navigating to external sources the first time I tried. I picked the first option "use source server and decompile if unavailable", and I got right back where I started)
  • Google like crazy to find if someone else had this issue and try to figure out if it's VS-based or Resharper-based
  • Navigate to Extensions->Resharper->Options->Tools->External Sources and play with the settings there. Notably, the checkbox "Use assembly Explorer instead of Object Browser by default" was very promising, but alas, it did not make a noticeable difference. I'll attach a screenshot of my settings
  • Use alternate ways of navigating the code. For example, once I actually reach the sources I want, I can F12 on a different symbol. This seems to works fine and decompiles that new file as expected.
  • Use the Object Browser to navigate to my own files. This works fine as expected. Only external symbols that I would expect the decompiler to intervene, have the problem

enter image description here

3
  • Do you have all the boxes checked in "ReSharper | Options | Environment | Keyboard | Visual Studio Commands"? "I look up a class in there, then do Go to declaration (alternatively, Go to implementation)." How do you call these commands? From the context menu? If so, which item do you select? Visual Studio and ReSharper have these items, they are called the same. Commented Feb 10 at 13:23
  • Yes, I do access it from the right click (context menu). There is only one such item visible in the context menu, but I'll go check this setting you mentioned! Commented Feb 10 at 16:06
  • Yes, all the boxes are indeed checked in there, including of course the two relevant ones for go to declaration and go to implementation Commented Feb 11 at 4:24

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.