From 3760c70ce1b252cbe6b3935dd1b857aa5213092a Mon Sep 17 00:00:00 2001 From: kevinobee1 Date: Fri, 7 Jun 2019 08:51:03 +0100 Subject: [PATCH 1/5] Code analysis disabled by default Slows builds down measurably --- Directory.Build.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Build.props b/Directory.Build.props index 433818d..e4de19c 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -5,7 +5,7 @@ false prompt - true + false From ff1915d343afab869ac6bd9a9a6fe05d7039f808 Mon Sep 17 00:00:00 2001 From: kevinobee1 Date: Fri, 7 Jun 2019 08:51:25 +0100 Subject: [PATCH 2/5] Sourcelink properties set --- Directory.Build.props | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Directory.Build.props b/Directory.Build.props index e4de19c..5abefa4 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -18,5 +18,13 @@ Internal CluedIn Assembly + https://github.com/CluedIn-io/CluedIn.Csharp.Template.git + git + true + + + symbols.nupkg + true + From f69f1c902ab59bbad00ed9483b0b58a986dc6a5d Mon Sep 17 00:00:00 2001 From: kevinobee1 Date: Fri, 7 Jun 2019 08:52:46 +0100 Subject: [PATCH 3/5] De-comment name property setting --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index e64210d..aba3fb8 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,4 +1,4 @@ -# name: $(Date:yyyyMMdd)$(Rev:.r) +name: $(Date:yyyyMMdd)$(Rev:.r) trigger: branches: From 48a12496b0d693f3db79840ed1db63491b9e596a Mon Sep 17 00:00:00 2001 From: kevinobee1 Date: Fri, 7 Jun 2019 08:53:00 +0100 Subject: [PATCH 4/5] Remove global.json file --- global.json | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 global.json diff --git a/global.json b/global.json deleted file mode 100644 index 6cb33ce..0000000 --- a/global.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "sdk": { - "version": "2.2.100" - } -} From 88b575261fa3791b8dc402db4196ce7eb713671c Mon Sep 17 00:00:00 2001 From: kevinobee1 Date: Fri, 7 Jun 2019 08:54:43 +0100 Subject: [PATCH 5/5] Optimise direcory build settings --- Directory.Build.targets | 4 ++++ test/Directory.Build.props | 25 +++++++++++++++++++++++++ test/unit/Directory.Build.props | 25 ++----------------------- 3 files changed, 31 insertions(+), 23 deletions(-) diff --git a/Directory.Build.targets b/Directory.Build.targets index 2d8a1ba..1d054ec 100644 --- a/Directory.Build.targets +++ b/Directory.Build.targets @@ -12,4 +12,8 @@ + + + + diff --git a/test/Directory.Build.props b/test/Directory.Build.props index d751f11..8948e61 100644 --- a/test/Directory.Build.props +++ b/test/Directory.Build.props @@ -5,4 +5,29 @@ true + + + 4.8.0 + 2.6.1 + 15.9.0 + 2.4.1 + $(XunitPackageVersion) + $(XunitPackageVersion) + $(XunitPackageVersion) + 0.10.0 + + + + + + + + + + + diff --git a/test/unit/Directory.Build.props b/test/unit/Directory.Build.props index e02b26e..0e983b3 100644 --- a/test/unit/Directory.Build.props +++ b/test/unit/Directory.Build.props @@ -1,30 +1,9 @@ - - - 4.8.0 - 2.6.1 - 15.9.0 - 2.4.1 - $(XunitPackageVersion) - $(XunitPackageVersion) - $(XunitPackageVersion) - 0.10.0 - - - - - - - - - + +