How to fix "Go To Definition" jumping into metadata in Visual Studio 2022
Hi
I have a dll c# project. This project is referenced as a project from other .Net projects. The referenced project is added as existing project to a solution. The function Go To Definition always jumps into metadata of the dll project. I tried multiple hints, deleting .vs file, setting various options under Debug settings, clearing solution etc. The dll project has many classes. To test the issue I removed almost all classes and leaved only one class with one method. It worked and Go To Definition jumped correctly into actual code. Next I tried to delete classes with external references such as database dll references step by step to check what part of the code causes the issue. The codebase is large and I couldn't find what causes the issue.
Did you have the same or similar issue? I have found some posts from previous years and then the issue was submitted as a bug to Microsoft. I have the newest version of MS Visual Studio 2022.