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