Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debugging nuget packages through sourcelink displays wrong file #895

Open
KristianHebert opened this issue Oct 28, 2022 · 1 comment
Open

Comments

@KristianHebert
Copy link

We have a .net framework 4.8 project with references to other .net projects and some of our own nuget packages.
Generally debugging into the nuget packages works fine.
When there are identical file names in the nuget package and one of the referenced projects, and we try to debug into the file in the nuget package, the file from the referenced project is displayed indstead of the one from the repo of the package. If we rename the file in the referenced project, the correct file from the nuget package is fetched and displayed when debugging.

image
Wrong file loaded, the debugger highlights "random" code

We expect the debugger fetch and display the correct file, even if a local file is identically named.

@tmat
Copy link
Member

tmat commented Oct 28, 2022

@chuckries

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants