Skip to content

github sourcelink does not work; it generates wrong URLs? #1159

Open
@sokunna

Description

@sokunna

I am using .net 8 which has SourceLink enabled by default. DebugType is set to embedded and nuget package seems to be created correctly when looking in nuget package explorer. However clicking on the source URLs takes me to a 404 not found page. When attempting to step into the source code in Visual Studio, it does not attempt to download any source code from github, but instead it's asking me to browse to the source file locally instead.
image

Modules says it's partially decomplied?
image
image

I also got the same result when using .net 6 or .net standard projects (with the instruction here https://learn.microsoft.com/en-us/visualstudio/debugger/how-to-improve-diagnostics-debugging-with-sourcelink?view=vs-2022).

Any help is appreciated!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions