From f83881d2b31f9c5c1c3982972d9617d63940daf4 Mon Sep 17 00:00:00 2001 From: Alexander Sher Date: Fri, 3 Feb 2023 11:41:33 -0600 Subject: [PATCH 1/3] Update LangVersion in individual projects --- common/SmokeTests/SmokeTest/SmokeTest.csproj | 1 - eng/Directory.Build.Common.props | 2 +- .../tests/Microsoft.Azure.Management.Avs.Tests.csproj | 1 - ...oft.Azure.Management.DeviceProvisioningServices.Tests.csproj | 1 - .../tests/Microsoft.Azure.Management.DeviceUpdate.Tests.csproj | 1 - .../tests/Microsoft.Azure.Management.DigitalTwins.Tests.csproj | 1 - .../src/EventGridSourceGenerator.csproj | 1 - .../perf/Azure.Messaging.EventHubs.Processor.Perf.csproj | 1 - .../perf/Azure.Messaging.EventHubs.Perf.csproj | 1 - .../stress/src/Azure.Messaging.EventHubs.Stress.csproj | 1 - sdk/eventhub/Directory.Build.props | 2 +- .../perf/Microsoft.Azure.EventHubs.Perf.csproj | 1 - .../src/Microsoft.Azure.Management.IotHub.csproj | 1 - .../tests/Microsoft.Azure.Management.IotHub.Tests.csproj | 1 - sdk/keyvault/samples/keyvaultproxy/Directory.Build.props | 2 +- ...rosoft.Azure.Management.MachineLearningServices.Tests.csproj | 1 - .../shared/Shared.Azure.MixedReality.Authentication.csproj | 1 - .../perf/Azure.Messaging.ServiceBus.Perf.csproj | 1 - .../stress/src/Azure.Messaging.ServiceBus.Stress.csproj | 1 - .../Azure.Storage.Files.DataLake.Perf.csproj | 1 - .../tests/Microsoft.Azure.Management.StoragePool.Tests.csproj | 1 - .../Azure.Data.Tables/tests/perf/Azure.Data.Tables.Perf.csproj | 1 - 22 files changed, 3 insertions(+), 22 deletions(-) diff --git a/common/SmokeTests/SmokeTest/SmokeTest.csproj b/common/SmokeTests/SmokeTest/SmokeTest.csproj index aebc691aab18..95b8060e7ce7 100644 --- a/common/SmokeTests/SmokeTest/SmokeTest.csproj +++ b/common/SmokeTests/SmokeTest/SmokeTest.csproj @@ -2,7 +2,6 @@ Exe net7.0;net6.0;net461 - latest $(NoWarn);NU1605 diff --git a/eng/Directory.Build.Common.props b/eng/Directory.Build.Common.props index 3369cd4bece9..00a518bddaeb 100644 --- a/eng/Directory.Build.Common.props +++ b/eng/Directory.Build.Common.props @@ -27,7 +27,7 @@ - 11 + 11.0 - 9.0 + 11.0 diff --git a/sdk/eventhub/Microsoft.Azure.EventHubs/perf/Microsoft.Azure.EventHubs.Perf.csproj b/sdk/eventhub/Microsoft.Azure.EventHubs/perf/Microsoft.Azure.EventHubs.Perf.csproj index cb0f307fd048..2dd2ac3961b7 100644 --- a/sdk/eventhub/Microsoft.Azure.EventHubs/perf/Microsoft.Azure.EventHubs.Perf.csproj +++ b/sdk/eventhub/Microsoft.Azure.EventHubs/perf/Microsoft.Azure.EventHubs.Perf.csproj @@ -3,7 +3,6 @@ 1.0.0 Exe - latest true diff --git a/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Microsoft.Azure.Management.IotHub.csproj b/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Microsoft.Azure.Management.IotHub.csproj index 919af08c52eb..2a44af7c6dd8 100644 --- a/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Microsoft.Azure.Management.IotHub.csproj +++ b/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Microsoft.Azure.Management.IotHub.csproj @@ -5,7 +5,6 @@ $(SdkTargetFx) - 8.0 diff --git a/sdk/iothub/Microsoft.Azure.Management.IotHub/tests/Microsoft.Azure.Management.IotHub.Tests.csproj b/sdk/iothub/Microsoft.Azure.Management.IotHub/tests/Microsoft.Azure.Management.IotHub.Tests.csproj index a892073fdcf6..ab7c1ed63bf7 100644 --- a/sdk/iothub/Microsoft.Azure.Management.IotHub/tests/Microsoft.Azure.Management.IotHub.Tests.csproj +++ b/sdk/iothub/Microsoft.Azure.Management.IotHub/tests/Microsoft.Azure.Management.IotHub.Tests.csproj @@ -7,7 +7,6 @@ IotHub.Tests 1.0.0 true - 8.0 diff --git a/sdk/keyvault/samples/keyvaultproxy/Directory.Build.props b/sdk/keyvault/samples/keyvaultproxy/Directory.Build.props index 286e55a6c2c5..fd9dd7689107 100644 --- a/sdk/keyvault/samples/keyvaultproxy/Directory.Build.props +++ b/sdk/keyvault/samples/keyvaultproxy/Directory.Build.props @@ -4,7 +4,7 @@ AzureSamples.Security.KeyVault.Proxy - latest + 11.0 $(NoWarn); AZC0001 diff --git a/sdk/machinelearningservices/Microsoft.Azure.Management.MachineLearningServices/tests/Microsoft.Azure.Management.MachineLearningServices.Tests.csproj b/sdk/machinelearningservices/Microsoft.Azure.Management.MachineLearningServices/tests/Microsoft.Azure.Management.MachineLearningServices.Tests.csproj index 631331c2bc1a..135c379e5822 100644 --- a/sdk/machinelearningservices/Microsoft.Azure.Management.MachineLearningServices/tests/Microsoft.Azure.Management.MachineLearningServices.Tests.csproj +++ b/sdk/machinelearningservices/Microsoft.Azure.Management.MachineLearningServices/tests/Microsoft.Azure.Management.MachineLearningServices.Tests.csproj @@ -6,7 +6,6 @@ MachineLearningServices.Tests Class Library MachineLearningServices.Tests 2020-09-01-preview - 8.0 diff --git a/sdk/mixedreality/Azure.MixedReality.Authentication/shared/Shared.Azure.MixedReality.Authentication.csproj b/sdk/mixedreality/Azure.MixedReality.Authentication/shared/Shared.Azure.MixedReality.Authentication.csproj index f211d206496c..fdd49658d4e1 100644 --- a/sdk/mixedreality/Azure.MixedReality.Authentication/shared/Shared.Azure.MixedReality.Authentication.csproj +++ b/sdk/mixedreality/Azure.MixedReality.Authentication/shared/Shared.Azure.MixedReality.Authentication.csproj @@ -3,7 +3,6 @@ netstandard2.0 false - latest Enable $(RepoRoot)/sdk/core/Azure.Core/src/Shared/ diff --git a/sdk/servicebus/Azure.Messaging.ServiceBus/perf/Azure.Messaging.ServiceBus.Perf.csproj b/sdk/servicebus/Azure.Messaging.ServiceBus/perf/Azure.Messaging.ServiceBus.Perf.csproj index 1b9ef33a83db..1ed0c3c41df8 100644 --- a/sdk/servicebus/Azure.Messaging.ServiceBus/perf/Azure.Messaging.ServiceBus.Perf.csproj +++ b/sdk/servicebus/Azure.Messaging.ServiceBus/perf/Azure.Messaging.ServiceBus.Perf.csproj @@ -2,7 +2,6 @@ 1.0.0 Exe - latest true diff --git a/sdk/servicebus/Azure.Messaging.ServiceBus/stress/src/Azure.Messaging.ServiceBus.Stress.csproj b/sdk/servicebus/Azure.Messaging.ServiceBus/stress/src/Azure.Messaging.ServiceBus.Stress.csproj index 2ef501d8089c..807921858428 100644 --- a/sdk/servicebus/Azure.Messaging.ServiceBus/stress/src/Azure.Messaging.ServiceBus.Stress.csproj +++ b/sdk/servicebus/Azure.Messaging.ServiceBus/stress/src/Azure.Messaging.ServiceBus.Stress.csproj @@ -2,7 +2,6 @@ 1.0.0 Exe - latest true false diff --git a/sdk/storage/Azure.Storage.Files.DataLake/perf/Azure.Storage.Files.DataLake.Perf/Azure.Storage.Files.DataLake.Perf.csproj b/sdk/storage/Azure.Storage.Files.DataLake/perf/Azure.Storage.Files.DataLake.Perf/Azure.Storage.Files.DataLake.Perf.csproj index 252d20945df0..09a3b3f0c976 100644 --- a/sdk/storage/Azure.Storage.Files.DataLake/perf/Azure.Storage.Files.DataLake.Perf/Azure.Storage.Files.DataLake.Perf.csproj +++ b/sdk/storage/Azure.Storage.Files.DataLake/perf/Azure.Storage.Files.DataLake.Perf/Azure.Storage.Files.DataLake.Perf.csproj @@ -2,7 +2,6 @@ 1.0.0 Exe - latest diff --git a/sdk/storagepool/Microsoft.Azure.Management.StoragePool/tests/Microsoft.Azure.Management.StoragePool.Tests.csproj b/sdk/storagepool/Microsoft.Azure.Management.StoragePool/tests/Microsoft.Azure.Management.StoragePool.Tests.csproj index 1bf6e295a88d..357e85188bf2 100644 --- a/sdk/storagepool/Microsoft.Azure.Management.StoragePool/tests/Microsoft.Azure.Management.StoragePool.Tests.csproj +++ b/sdk/storagepool/Microsoft.Azure.Management.StoragePool/tests/Microsoft.Azure.Management.StoragePool.Tests.csproj @@ -7,7 +7,6 @@ StoragePool.Tests true true - latest diff --git a/sdk/tables/Azure.Data.Tables/tests/perf/Azure.Data.Tables.Perf.csproj b/sdk/tables/Azure.Data.Tables/tests/perf/Azure.Data.Tables.Perf.csproj index e31002fbc03b..40fb3fdad0b4 100644 --- a/sdk/tables/Azure.Data.Tables/tests/perf/Azure.Data.Tables.Perf.csproj +++ b/sdk/tables/Azure.Data.Tables/tests/perf/Azure.Data.Tables.Perf.csproj @@ -14,7 +14,6 @@ 1.0.0 Exe - latest true From 799d7ecdf23fd1be60be97b340f9f31269b4da03 Mon Sep 17 00:00:00 2001 From: Alexander Sher Date: Fri, 3 Feb 2023 11:46:54 -0600 Subject: [PATCH 2/3] Restore LangVersion tag in sample project --- common/SmokeTests/SmokeTest/SmokeTest.csproj | 1 + 1 file changed, 1 insertion(+) diff --git a/common/SmokeTests/SmokeTest/SmokeTest.csproj b/common/SmokeTests/SmokeTest/SmokeTest.csproj index 95b8060e7ce7..cc5034355e78 100644 --- a/common/SmokeTests/SmokeTest/SmokeTest.csproj +++ b/common/SmokeTests/SmokeTest/SmokeTest.csproj @@ -2,6 +2,7 @@ Exe net7.0;net6.0;net461 + 11.0 $(NoWarn);NU1605 From 2456f885c38193b41285f6ad7bfacab10039beef Mon Sep 17 00:00:00 2001 From: Alexander Sher Date: Fri, 3 Feb 2023 12:33:05 -0600 Subject: [PATCH 3/3] Address PR comment --- sdk/eventhub/Directory.Build.props | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/sdk/eventhub/Directory.Build.props b/sdk/eventhub/Directory.Build.props index a15c35827fd4..1b66ad4b72c3 100644 --- a/sdk/eventhub/Directory.Build.props +++ b/sdk/eventhub/Directory.Build.props @@ -14,16 +14,4 @@ - - - - 11.0 -