Skip to content

Support for reproducible builds #1921

Open
@clairernovotny

Description

@clairernovotny

Describe the Feature

Enables reproducible builds to improve supply chain security and enable better debugging experience.

Is your Feature Request related to a problem?

Currently cannot easily step into library code in the debugger. Also cannot determine if code in package matches code in the repo.

Proposed Solution

Add support for reproducible builds as a best practice. It can be done by either dropping the DotNet.ReproducibleBuilds as a build-time package in a Directory.Build.props file or by manually adding the required properties and dependencies. See https://github.com/dotnet/reproducible-builds for details.

Describe alternatives you've considered

There are none.

Additional Context

I wrote a blog post that describes how to produce these packages, and another that shows the improved debugging experience.

Environment

This requires using the .NET SDK 5.0.300 or / MSBuild 16.10 later to build.

  • 👋 I may be able to implement this feature request
  • ⚠️ This feature might incur a breaking change

This is a 🚀 Feature Request

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions