Skip to content

Add SourceLink - #485

Merged
moodmosaic merged 2 commits into
hedgehogqa:masterfrom
jwosty:sourcelink
Jun 26, 2026
Merged

Add SourceLink#485
moodmosaic merged 2 commits into
hedgehogqa:masterfrom
jwosty:sourcelink

Conversation

@jwosty

@jwosty jwosty commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Resolves #484

  • Changes rollForward policy in global.json to allow repo to be opened with any .net sdk > 8.0.416
  • Adds SourceLink, via embedded pdb to match Hedgehog.Xunit and Hedgehog.Nunit (turns out they already had sources bundled): https://github.com/dotnet/sourcelink#embed-in-assembly

@moodmosaic moodmosaic left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

Does this rely on the .NET 8 + built-in SourceLink, or should Microsoft.SourceLink.GitHub be referenced explicitly?

Comment thread global.json
Comment thread src/Hedgehog/Hedgehog.fsproj
@moodmosaic
moodmosaic merged commit bccc1cc into hedgehogqa:master Jun 26, 2026
2 checks passed
@moodmosaic

Copy link
Copy Markdown
Member

@jwosty, thank you! What are the next steps?

@jwosty

jwosty commented Jun 26, 2026

Copy link
Copy Markdown
Contributor Author

Thank you!

Does this rely on the .NET 8 + built-in SourceLink, or should Microsoft.SourceLink.GitHub be referenced explicitly?

Yep, it uses the built-in sourcelink and doesn't need to reference any packages.

@jwosty, thank you! What are the next steps?

Nothing - it should work next time it is deployed

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

Successfully merging this pull request may close these issues.

SourceLink

2 participants