From f0d007dda1a58f2281310b0e1c30ff73fbba13d0 Mon Sep 17 00:00:00 2001 From: Oskar Gewalli Date: Fri, 22 Sep 2023 08:34:34 +0300 Subject: [PATCH] Upgrade to use net7 and specify net7 in Azure DevOps --- azure-pipelines.yml | 2 +- .../JiraExport/jira-export.csproj | 10 ++--- .../Migration.Common.Log.csproj | 11 +++--- .../Migration.Common/Migration.Common.csproj | 6 +-- .../Migration.WIContract.csproj | 4 +- .../WorkItemImport/wi-import.csproj | 38 +++++++++---------- .../Migration.Common.Tests.csproj | 20 +++++----- .../Migration.Jira-Export.Tests.csproj | 20 +++++----- .../Migration.WIContract.Tests.csproj | 20 ++++++---- .../Migration.Wi-Import.Tests.csproj | 20 +++++----- 10 files changed, 78 insertions(+), 73 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index d756536d..f7b9530e 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -9,7 +9,7 @@ variables: BuildConfiguration: 'release' major: 3 minor: 0 - dotNetVersion: '3.1.x' + dotNetVersion: '7.0.x' name: $(major).$(minor)$(rev:.r) diff --git a/src/WorkItemMigrator/JiraExport/jira-export.csproj b/src/WorkItemMigrator/JiraExport/jira-export.csproj index 60504d8f..1c052f6b 100644 --- a/src/WorkItemMigrator/JiraExport/jira-export.csproj +++ b/src/WorkItemMigrator/JiraExport/jira-export.csproj @@ -2,7 +2,7 @@ Exe JiraExport - net48 + net7 true false C:\temp\jirapublish\ @@ -60,13 +60,13 @@ - + - + - + - + diff --git a/src/WorkItemMigrator/Migration.Common.Log/Migration.Common.Log.csproj b/src/WorkItemMigrator/Migration.Common.Log/Migration.Common.Log.csproj index 7929fc49..e4c031d5 100644 --- a/src/WorkItemMigrator/Migration.Common.Log/Migration.Common.Log.csproj +++ b/src/WorkItemMigrator/Migration.Common.Log/Migration.Common.Log.csproj @@ -1,6 +1,6 @@  - net48 + net7 Migration.Common.Log Migration.Common.Log Copyright © 2019 @@ -13,10 +13,11 @@ pdbonly - - - - + + + + + diff --git a/src/WorkItemMigrator/Migration.Common/Migration.Common.csproj b/src/WorkItemMigrator/Migration.Common/Migration.Common.csproj index a9816d5a..167b5ca0 100644 --- a/src/WorkItemMigrator/Migration.Common/Migration.Common.csproj +++ b/src/WorkItemMigrator/Migration.Common/Migration.Common.csproj @@ -1,6 +1,6 @@  - net48 + net7 Migration.Common Migration.Common Copyright (c) Solidify @@ -17,8 +17,8 @@ pdbonly - - + + diff --git a/src/WorkItemMigrator/Migration.WIContract/Migration.WIContract.csproj b/src/WorkItemMigrator/Migration.WIContract/Migration.WIContract.csproj index dd41c2a0..587967f9 100644 --- a/src/WorkItemMigrator/Migration.WIContract/Migration.WIContract.csproj +++ b/src/WorkItemMigrator/Migration.WIContract/Migration.WIContract.csproj @@ -1,6 +1,6 @@  - net48 + net7 Migration.WIContract Migration.WIContract Copyright (c) Solidify @@ -17,7 +17,7 @@ pdbonly - + diff --git a/src/WorkItemMigrator/WorkItemImport/wi-import.csproj b/src/WorkItemMigrator/WorkItemImport/wi-import.csproj index 097d6b55..aefc8595 100644 --- a/src/WorkItemMigrator/WorkItemImport/wi-import.csproj +++ b/src/WorkItemMigrator/WorkItemImport/wi-import.csproj @@ -2,7 +2,7 @@ Exe WorkItemImport - net48 + net7 true false publish\ @@ -35,28 +35,26 @@ pdbonly - - + - - - + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + diff --git a/src/WorkItemMigrator/tests/Migration.Common.Tests/Migration.Common.Tests.csproj b/src/WorkItemMigrator/tests/Migration.Common.Tests/Migration.Common.Tests.csproj index a620938a..dfc9c59e 100644 --- a/src/WorkItemMigrator/tests/Migration.Common.Tests/Migration.Common.Tests.csproj +++ b/src/WorkItemMigrator/tests/Migration.Common.Tests/Migration.Common.Tests.csproj @@ -1,18 +1,18 @@  - netcoreapp3.1 + net7 false - - - - - - - - - + + + + + + + + + diff --git a/src/WorkItemMigrator/tests/Migration.Jira-Export.Tests/Migration.Jira-Export.Tests.csproj b/src/WorkItemMigrator/tests/Migration.Jira-Export.Tests/Migration.Jira-Export.Tests.csproj index 831250d7..3ac9ee16 100644 --- a/src/WorkItemMigrator/tests/Migration.Jira-Export.Tests/Migration.Jira-Export.Tests.csproj +++ b/src/WorkItemMigrator/tests/Migration.Jira-Export.Tests/Migration.Jira-Export.Tests.csproj @@ -1,20 +1,20 @@  - netcoreapp3.1 + net7 Migration.Jira_Export.Tests false - - - - - - - - - + + + + + + + + + diff --git a/src/WorkItemMigrator/tests/Migration.WIContract.Tests/Migration.WIContract.Tests.csproj b/src/WorkItemMigrator/tests/Migration.WIContract.Tests/Migration.WIContract.Tests.csproj index 2efd79e5..2e4971bd 100644 --- a/src/WorkItemMigrator/tests/Migration.WIContract.Tests/Migration.WIContract.Tests.csproj +++ b/src/WorkItemMigrator/tests/Migration.WIContract.Tests/Migration.WIContract.Tests.csproj @@ -1,16 +1,22 @@  - netcoreapp3.1 + net7 false - - - + + + - - - + + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + diff --git a/src/WorkItemMigrator/tests/Migration.Wi-Import.Tests/Migration.Wi-Import.Tests.csproj b/src/WorkItemMigrator/tests/Migration.Wi-Import.Tests/Migration.Wi-Import.Tests.csproj index 230e5e2a..6a953cd3 100644 --- a/src/WorkItemMigrator/tests/Migration.Wi-Import.Tests/Migration.Wi-Import.Tests.csproj +++ b/src/WorkItemMigrator/tests/Migration.Wi-Import.Tests/Migration.Wi-Import.Tests.csproj @@ -1,20 +1,20 @@  - netcoreapp3.1 + net7 Migration.Wi_Import.Tests false - - - - - - - - - + + + + + + + + +