You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
github sourcelink does not work; it generates wrong URLs? #1159
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.
Is it a private repository? Because then it's expected behaviour. The links point directly to raw.githubusercontent.com, while the 'Raw' button on GitHub points to github.com and redirects to raw.githubusercontent.com with a ?token=... query parameter added.
Activity
tmat commentedon Dec 12, 2023
@clairernovotny
stijnherreman commentedon Feb 11, 2024
Is it a private repository? Because then it's expected behaviour. The links point directly to
raw.githubusercontent.com, while the 'Raw' button on GitHub points togithub.comand redirects toraw.githubusercontent.comwith a?token=...query parameter added.