From 765300a32b18f5a2d15f54feed9b46960c3af13f Mon Sep 17 00:00:00 2001 From: Marc Gravell Date: Sun, 5 Apr 2020 13:43:31 +0100 Subject: [PATCH] Enable deterministic build (#1433) * - enable deterministic build - lib updates for core packages * set source root if needed * Restore VS test runner xUnit won't run in VS without it :) Co-authored-by: Nick Craver --- Dapper.Contrib/Dapper.Contrib.csproj | 4 ++-- Dapper.ProviderTools/Dapper.ProviderTools.csproj | 2 +- Dapper.Rainbow/Dapper.Rainbow.csproj | 2 +- Dapper.SqlBuilder/Dapper.SqlBuilder.csproj | 2 +- Dapper.StrongName/Dapper.StrongName.csproj | 2 +- Dapper.Tests.Contrib/Dapper.Tests.Contrib.csproj | 9 +++------ Dapper.Tests/Dapper.Tests.csproj | 11 ++++------- Dapper/Dapper.csproj | 2 +- Directory.Build.props | 14 +++++++++++--- Directory.Build.targets | 9 +++++++++ 10 files changed, 34 insertions(+), 23 deletions(-) create mode 100644 Directory.Build.targets diff --git a/Dapper.Contrib/Dapper.Contrib.csproj b/Dapper.Contrib/Dapper.Contrib.csproj index 57cc47c..662f6c3 100644 --- a/Dapper.Contrib/Dapper.Contrib.csproj +++ b/Dapper.Contrib/Dapper.Contrib.csproj @@ -12,8 +12,8 @@ - - + + diff --git a/Dapper.ProviderTools/Dapper.ProviderTools.csproj b/Dapper.ProviderTools/Dapper.ProviderTools.csproj index 941fa17..0dea831 100644 --- a/Dapper.ProviderTools/Dapper.ProviderTools.csproj +++ b/Dapper.ProviderTools/Dapper.ProviderTools.csproj @@ -11,7 +11,7 @@ 8.0 - + diff --git a/Dapper.Rainbow/Dapper.Rainbow.csproj b/Dapper.Rainbow/Dapper.Rainbow.csproj index 1bcc764..85a890c 100644 --- a/Dapper.Rainbow/Dapper.Rainbow.csproj +++ b/Dapper.Rainbow/Dapper.Rainbow.csproj @@ -14,7 +14,7 @@ - + diff --git a/Dapper.SqlBuilder/Dapper.SqlBuilder.csproj b/Dapper.SqlBuilder/Dapper.SqlBuilder.csproj index 0054813..4d22af8 100644 --- a/Dapper.SqlBuilder/Dapper.SqlBuilder.csproj +++ b/Dapper.SqlBuilder/Dapper.SqlBuilder.csproj @@ -13,7 +13,7 @@ - + diff --git a/Dapper.StrongName/Dapper.StrongName.csproj b/Dapper.StrongName/Dapper.StrongName.csproj index 329a86e..8d86086 100644 --- a/Dapper.StrongName/Dapper.StrongName.csproj +++ b/Dapper.StrongName/Dapper.StrongName.csproj @@ -14,6 +14,6 @@ - + diff --git a/Dapper.Tests.Contrib/Dapper.Tests.Contrib.csproj b/Dapper.Tests.Contrib/Dapper.Tests.Contrib.csproj index 89869d6..b60d95f 100644 --- a/Dapper.Tests.Contrib/Dapper.Tests.Contrib.csproj +++ b/Dapper.Tests.Contrib/Dapper.Tests.Contrib.csproj @@ -17,12 +17,9 @@ - - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - + + + diff --git a/Dapper.Tests/Dapper.Tests.csproj b/Dapper.Tests/Dapper.Tests.csproj index 30df68c..9572178 100644 --- a/Dapper.Tests/Dapper.Tests.csproj +++ b/Dapper.Tests/Dapper.Tests.csproj @@ -18,18 +18,15 @@ - + - + - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - + + diff --git a/Dapper/Dapper.csproj b/Dapper/Dapper.csproj index 0f97e83..ccc1d0a 100644 --- a/Dapper/Dapper.csproj +++ b/Dapper/Dapper.csproj @@ -9,6 +9,6 @@ - + diff --git a/Directory.Build.props b/Directory.Build.props index 06fce58..f935272 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -18,13 +18,21 @@ embedded en-US false - 2.4.1 true + + + true + true + true + + + + - - + + \ No newline at end of file diff --git a/Directory.Build.targets b/Directory.Build.targets new file mode 100644 index 0000000..bbbfb2d --- /dev/null +++ b/Directory.Build.targets @@ -0,0 +1,9 @@ + + + + $([System.IO.Path]::Combine('$(IntermediateOutputPath)','$(TargetFrameworkMoniker).AssemblyAttributes$(DefaultLanguageSourceExtension)')) + + + + + \ No newline at end of file -- GitLab