Skip to content

Commit a7db625

Browse files
authored
Merge pull request #786 from adamralph/dotnet-reproducible-builds
switch to DotNet.ReproducibleBuilds
2 parents 7969ebd + 6bfc30d commit a7db625

File tree

3 files changed

+19
-6
lines changed

3 files changed

+19
-6
lines changed

Directory.Build.props

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
<PropertyGroup>
44
<AnalysisMode>All</AnalysisMode>
5-
<DebugType>embedded</DebugType>
65
<EmbedUntrackedSources>true</EmbedUntrackedSources>
76
<EnableNETAnalyzers>true</EnableNETAnalyzers>
87
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
@@ -17,10 +16,6 @@
1716
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
1817
</PropertyGroup>
1918

20-
<PropertyGroup Condition="'$(CI)' != ''">
21-
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
22-
</PropertyGroup>
23-
2419
<ItemGroup>
2520
<Compile Include="$(MSBuildThisFileDirectory)/Global.cs" Link="Global.cs" />
2621
</ItemGroup>

SimpleExec/SimpleExec.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
<PackageProjectUrl>https://github.com/adamralph/simple-exec</PackageProjectUrl>
1212
<PackageReadmeFile>README.md</PackageReadmeFile>
1313
<PackageReleaseNotes>https://github.com/adamralph/simple-exec/blob/main/CHANGELOG.md</PackageReleaseNotes>
14-
<PublishRepositoryUrl>true</PublishRepositoryUrl>
1514
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
1615
</PropertyGroup>
1716

@@ -20,6 +19,7 @@
2019
</PropertyGroup>
2120

2221
<ItemGroup>
22+
<PackageReference Include="DotNet.ReproducibleBuilds" Version="1.2.39" PrivateAssets="All" />
2323
<PackageReference Include="Microsoft.CodeAnalysis.PublicApiAnalyzers" Version="3.3.4" PrivateAssets="All" />
2424
<PackageReference Include="Microsoft.Sbom.Targets" Version="4.1.4" PrivateAssets="All" />
2525
<PackageReference Include="MinVer" Version="7.0.0-rc.1" PrivateAssets="All" />

SimpleExec/packages.lock.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
"version": 1,
33
"dependencies": {
44
"net10.0": {
5+
"DotNet.ReproducibleBuilds": {
6+
"type": "Direct",
7+
"requested": "[1.2.39, )",
8+
"resolved": "1.2.39",
9+
"contentHash": "fcFN01tDTIQqDuTwr1jUQK/geofiwjG5DycJQOnC72i1SsLAk1ELe+apBOuZ11UMQG8YKFZG1FgvjZPbqHyatg=="
10+
},
511
"Microsoft.CodeAnalysis.PublicApiAnalyzers": {
612
"type": "Direct",
713
"requested": "[3.3.4, )",
@@ -22,6 +28,12 @@
2228
}
2329
},
2430
"net8.0": {
31+
"DotNet.ReproducibleBuilds": {
32+
"type": "Direct",
33+
"requested": "[1.2.39, )",
34+
"resolved": "1.2.39",
35+
"contentHash": "fcFN01tDTIQqDuTwr1jUQK/geofiwjG5DycJQOnC72i1SsLAk1ELe+apBOuZ11UMQG8YKFZG1FgvjZPbqHyatg=="
36+
},
2537
"Microsoft.CodeAnalysis.PublicApiAnalyzers": {
2638
"type": "Direct",
2739
"requested": "[3.3.4, )",
@@ -42,6 +54,12 @@
4254
}
4355
},
4456
"net9.0": {
57+
"DotNet.ReproducibleBuilds": {
58+
"type": "Direct",
59+
"requested": "[1.2.39, )",
60+
"resolved": "1.2.39",
61+
"contentHash": "fcFN01tDTIQqDuTwr1jUQK/geofiwjG5DycJQOnC72i1SsLAk1ELe+apBOuZ11UMQG8YKFZG1FgvjZPbqHyatg=="
62+
},
4563
"Microsoft.CodeAnalysis.PublicApiAnalyzers": {
4664
"type": "Direct",
4765
"requested": "[3.3.4, )",

0 commit comments

Comments
 (0)