DotNet.ReproducibleBuilds 0.1.26

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package DotNet.ReproducibleBuilds --version 0.1.26
NuGet\Install-Package DotNet.ReproducibleBuilds -Version 0.1.26
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="DotNet.ReproducibleBuilds" Version="0.1.26">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DotNet.ReproducibleBuilds --version 0.1.26
#r "nuget: DotNet.ReproducibleBuilds, 0.1.26"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install DotNet.ReproducibleBuilds as a Cake Addin
#addin nuget:?package=DotNet.ReproducibleBuilds&version=0.1.26

// Install DotNet.ReproducibleBuilds as a Cake Tool
#tool nuget:?package=DotNet.ReproducibleBuilds&version=0.1.26

A package that enables reproducible builds in a single step. It's highly recommended that all projects enable these settings, either via adding this package or manually as described here: https://devblogs.microsoft.com/dotnet/producing-packages-with-source-link/

This package sets the following properties:

  • PublishRepositoryUrl = true
  • EmbedUntrackedSources = true
  • DebugType = embedded. You can specify portable in your project if you prefer, but you'll need to upload that .snupkg file too.
  • IncludePackageReferencesDuringMarkupCompilation = true (enables a fix for WPF)
  • ContinuousIntegrationBuild = true on CI systems

It also adds SourceLink dependencies for all repo types (the right one will be used automatically).

For more information on debugging with Source Link is here.

Usage

Add the following to your Directory.Build.props file so all projects in your solution have the package added -- use the latest package version.

<ItemGroup>
  <PackageReference Include="DotNet.ReproducibleBuilds" Version="0.1.26" PrivateAssets="All"/>
</ItemGroup>

MSBuild 16.10 is required to generate binaries that can be fully reproduced. You'll need Visual Studio 2019 16.10 and/or .NET 5.0.300 SDK. You'll get a warning if you're using a lower version.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on DotNet.ReproducibleBuilds:

Package Downloads
FSharp.AWS.DynamoDB

An idiomatic F# wrapper for the AWS DynamoDB SDK.

AspireDashboardHelper

A helper library for adding the Aspire Dashboard docker image to your projects.

GitHub repositories (47)

Showing the top 5 popular GitHub repositories that depend on DotNet.ReproducibleBuilds:

Repository Stars
dotnet/Silk.NET
The high-speed OpenGL, OpenCL, OpenAL, OpenXR, GLFW, SDL, Vulkan, Assimp, WebGPU, and DirectX bindings library your mother warned you about.
morelinq/MoreLINQ
Extensions to LINQ to Objects
elastic/elasticsearch-net
This strongly-typed, client library enables working with Elasticsearch. It is the official client maintained and supported by Elastic.
Dotnet-Boxed/Templates
.NET project templates with batteries included, providing the minimum amount of code required to get you going faster.
oxyplot/oxyplot
A cross-platform plotting library for .NET
Version Downloads Last updated
1.1.1 1,281,355 11/11/2021
0.1.66 62,301 7/27/2021
0.1.64 3,323 5/22/2021
0.1.34 845 5/11/2021
0.1.26 4,420 4/30/2021