Skip to content

Commit

Permalink
More deterministic build stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulStovell committed Apr 24, 2020
1 parent b5570b8 commit 2631df1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 8 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<Project>
<PropertyGroup>
<Deterministic>true</Deterministic>
</PropertyGroup>
<ItemGroup>
<SourceRoot Include="$(MSBuildThisFileDirectory)/"/>
</ItemGroup>
</Project>
4 changes: 1 addition & 3 deletions source/Nevermore/Nevermore.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<WarningsAsErrors />
<GeneratePackageOnBuild Condition="'$(Configuration)' == 'Release'">True</GeneratePackageOnBuild>
<ContinuousIntegrationBuild Condition="'$(Configuration)' == 'Release'">True</ContinuousIntegrationBuild>
<Deterministic Condition="'$(Configuration)' == 'Release'">True</Deterministic>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<TargetFramework>netstandard2.1</TargetFramework>
Expand All @@ -39,9 +40,6 @@
<PackageReference Include="System.Diagnostics.Contracts" Version="4.3.0" />
<PackageReference Include="System.ValueTuple" Version="4.4.0" />
<PackageReference Include="Microsoft.Data.SqlClient" Version="1.1.0" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
</ItemGroup>

Expand Down

0 comments on commit 2631df1

Please sign in to comment.