Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

How do I do a deterministic build locally (ContinuousIntegrationBuild flag)?

$
0
0

When I attempt to publish my package using NuGet Package Explorer, I see the following warning:

Non-Deterministic

Deterministic (dll/exe): Non deterministic
Ensure that the following property is enabled for CI builds
and you're using at least the 2.1.300 SDK:

<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>

However, when I add that property to the PropertyGroup (as described here), VS 2019 freaks out so badly I literally need to ctrl+alt+delete to close it.

According to this page the property name is <Deterministic>, but that doesn't seem to do anything at all.

So how do I get deterministic builds to work?

Visual Studio 2019, v16.7.1
.Net SDK 3.1.401 (LTS)


Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>