Skip to content

Conversation

@henrygab
Copy link

@henrygab henrygab commented Jun 7, 2021

Fixes #6.

Enables Source Link, to make debugging easier for users of the library.

Enables Deterministic Builds (aka reproducible builds) when building via GitHub Action.
(See https://github.com/clairernovotny/DeterministicBuilds)

Source Link enables anyone building NuGet libraries to provide
source-level debugging for their users with almost no effort.

* See https://github.com/dotnet/sourcelink/blob/main/README.md
* See https://devblogs.microsoft.com/dotnet/improving-debug-time-productivity-with-source-link/
* Docs at https://docs.microsoft.com/en-us/dotnet/standard/library-guidance/sourcelink

Reproducible Builds

Deterministic Builds are now enabled automatically when
building via GitHub Actions.

* See https://github.com/clairernovotny/DeterministicBuilds

To verify the changes:

1. Use [NuGet Package Explorer](https://github.com/NuGetPackageExplorer/NuGetPackageExplorer)
   to verify the package has Source Link enabled and is deterministic
2. Use [JustAssembly](https://github.com/telerik/justassembly) to verify
   assemblies are identical to those previously published to NuGet
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.

Enable SourceLink and deterministic builds for NuGet package

1 participant