From 289bb6b074f3e35e7a1748191282129cde1fba3d Mon Sep 17 00:00:00 2001 From: m-nash <64171366+m-nash@users.noreply.github.com> Date: Wed, 2 Jun 2021 15:50:48 -0700 Subject: [PATCH] Remove the suppression for namespace in mgmt sdks (#21534) * remove no warn AZC0001 * remove the namespace warn suppression from mgmt plane sdks * remove old todo --- eng/Packages.Data.props | 2 +- .../src/Azure.ResourceManager.Template.csproj | 5 ----- .../src/Azure.ResourceManager.AppConfiguration.csproj | 2 +- .../src/Azure.ResourceManager.Communication.csproj | 4 ---- .../src/Azure.ResourceManager.Compute.csproj | 2 +- .../src/Azure.ResourceManager.CosmosDB.csproj | 2 +- .../src/Azure.ResourceManager.Dns.csproj | 2 +- .../src/Azure.ResourceManager.EventHubs.csproj | 2 +- .../src/Azure.ResourceManager.Insights.csproj | 2 -- .../src/Azure.ResourceManager.KeyVault.csproj | 2 +- .../src/Azure.ResourceManager.MachineLearningServices.csproj | 3 +-- .../src/Azure.ResourceManager.Network.csproj | 2 +- .../src/Azure.ResourceManager.Core.csproj | 2 +- .../src/Azure.ResourceManager.Resources.csproj | 2 +- .../src/Azure.ResourceManager.Sql.csproj | 2 +- .../src/Azure.ResourceManager.Storage.csproj | 2 +- 16 files changed, 13 insertions(+), 25 deletions(-) diff --git a/eng/Packages.Data.props b/eng/Packages.Data.props index 1e49fe381c231..3841e62b84576 100644 --- a/eng/Packages.Data.props +++ b/eng/Packages.Data.props @@ -132,7 +132,7 @@ --> - + diff --git a/eng/templates/Azure.ResourceManager.Template/src/Azure.ResourceManager.Template.csproj b/eng/templates/Azure.ResourceManager.Template/src/Azure.ResourceManager.Template.csproj index 140a72f941762..00579cd4fde56 100644 --- a/eng/templates/Azure.ResourceManager.Template/src/Azure.ResourceManager.Template.csproj +++ b/eng/templates/Azure.ResourceManager.Template/src/Azure.ResourceManager.Template.csproj @@ -5,9 +5,4 @@ Azure Resource Manager client SDK for Azure resource provider ProviderFullName azure;management;arm;resource manager;ProviderNameLowercase - - - - $(NoWarn);AZC0001 - diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Azure.ResourceManager.AppConfiguration.csproj b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Azure.ResourceManager.AppConfiguration.csproj index 48edefa8e8524..0c67fe0c5ef68 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Azure.ResourceManager.AppConfiguration.csproj +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Azure.ResourceManager.AppConfiguration.csproj @@ -7,7 +7,7 @@ This is a beta preview vesion. This version uses a next-generation code generator that introduces important breaking changes, but also new features (such as intuitive authentication, custom HTTP pipeline, distributed tracing and much more). azure;management;appconfiguration - $(NoWarn);AZC0001;AZC0008; + $(NoWarn);AZC0008; true diff --git a/sdk/communication/Azure.ResourceManager.Communication/src/Azure.ResourceManager.Communication.csproj b/sdk/communication/Azure.ResourceManager.Communication/src/Azure.ResourceManager.Communication.csproj index 7727521004819..4dc9a2fc6ce5e 100644 --- a/sdk/communication/Azure.ResourceManager.Communication/src/Azure.ResourceManager.Communication.csproj +++ b/sdk/communication/Azure.ResourceManager.Communication/src/Azure.ResourceManager.Communication.csproj @@ -9,10 +9,6 @@ For this release, see notes - https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/communication/Azure.ResourceManager.Communication/README.md and https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/communication/Azure.ResourceManager.Communication/CHANGELOG.md. azure;management;communication - - $(NoWarn);AZC0001 true diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Azure.ResourceManager.Compute.csproj b/sdk/compute/Azure.ResourceManager.Compute/src/Azure.ResourceManager.Compute.csproj index 289f5c3f0d43c..29aad3568aa29 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Azure.ResourceManager.Compute.csproj +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Azure.ResourceManager.Compute.csproj @@ -12,7 +12,7 @@ - $(NoWarn);AZC0001;AZC0008 + $(NoWarn);AZC0008 diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Azure.ResourceManager.CosmosDB.csproj b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Azure.ResourceManager.CosmosDB.csproj index 22407c4e61d6c..77286d45f9bad 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Azure.ResourceManager.CosmosDB.csproj +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Azure.ResourceManager.CosmosDB.csproj @@ -8,7 +8,7 @@ - $(NoWarn);AZC0001;CS1591 + $(NoWarn);CS1591 true diff --git a/sdk/dns/Azure.ResourceManager.Dns/src/Azure.ResourceManager.Dns.csproj b/sdk/dns/Azure.ResourceManager.Dns/src/Azure.ResourceManager.Dns.csproj index b93befabf52c9..e65523768d5c3 100644 --- a/sdk/dns/Azure.ResourceManager.Dns/src/Azure.ResourceManager.Dns.csproj +++ b/sdk/dns/Azure.ResourceManager.Dns/src/Azure.ResourceManager.Dns.csproj @@ -17,7 +17,7 @@ - $(NoWarn);AZC0001;CS0618 + $(NoWarn);CS0618 true diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Azure.ResourceManager.EventHubs.csproj b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Azure.ResourceManager.EventHubs.csproj index 48c36e430b674..9d2aae24d9feb 100644 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Azure.ResourceManager.EventHubs.csproj +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Azure.ResourceManager.EventHubs.csproj @@ -7,7 +7,7 @@ This is a beta preview vesion. This version uses a next-generation code generator that introduces important breaking changes, but also new features (such as intuitive authentication, custom HTTP pipeline, distributed tracing and much more). azure;management;eventhub - $(NoWarn);AZC0001;AZC0008 + $(NoWarn);AZC0008 true diff --git a/sdk/insights/Azure.ResourceManager.Insights/src/Azure.ResourceManager.Insights.csproj b/sdk/insights/Azure.ResourceManager.Insights/src/Azure.ResourceManager.Insights.csproj index ef6ee376daedb..e8224716cdda7 100644 --- a/sdk/insights/Azure.ResourceManager.Insights/src/Azure.ResourceManager.Insights.csproj +++ b/sdk/insights/Azure.ResourceManager.Insights/src/Azure.ResourceManager.Insights.csproj @@ -7,8 +7,6 @@ - - $(NoWarn);AZC0001 true diff --git a/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Azure.ResourceManager.KeyVault.csproj b/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Azure.ResourceManager.KeyVault.csproj index 95f060ccce38b..9a0b2c45a510e 100644 --- a/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Azure.ResourceManager.KeyVault.csproj +++ b/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Azure.ResourceManager.KeyVault.csproj @@ -8,7 +8,7 @@ azure;management;keyvault - $(NoWarn);AZC0001;AZC0008; + $(NoWarn);AZC0008; true diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearningServices/src/Azure.ResourceManager.MachineLearningServices.csproj b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearningServices/src/Azure.ResourceManager.MachineLearningServices.csproj index 618321870eb30..b0c97aef60183 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearningServices/src/Azure.ResourceManager.MachineLearningServices.csproj +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearningServices/src/Azure.ResourceManager.MachineLearningServices.csproj @@ -11,9 +11,8 @@ - - $(NoWarn);AZC0001;CS1591 + $(NoWarn);CS1591 true diff --git a/sdk/network/Azure.ResourceManager.Network/src/Azure.ResourceManager.Network.csproj b/sdk/network/Azure.ResourceManager.Network/src/Azure.ResourceManager.Network.csproj index 82e99ce22fc62..edc77dab9039b 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Azure.ResourceManager.Network.csproj +++ b/sdk/network/Azure.ResourceManager.Network/src/Azure.ResourceManager.Network.csproj @@ -12,7 +12,7 @@ - $(NoWarn);AZC0001;AZC0008 + $(NoWarn);AZC0008 diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/src/Azure.ResourceManager.Core.csproj b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Azure.ResourceManager.Core.csproj index a8877be80cd79..4403871f5a0b5 100644 --- a/sdk/resourcemanager/Azure.ResourceManager.Core/src/Azure.ResourceManager.Core.csproj +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Azure.ResourceManager.Core.csproj @@ -8,7 +8,7 @@ This is a beta preview vesion. This version uses a next-generation code generator that introduces important breaking changes, but also new features (such as intuitive authentication, custom HTTP pipeline, distributed tracing and much more). azure;management;resource - $(NoWarn);AZC0008;AZC0001;AZC0107;CA2214;CA1036;CA1067;CA1065;SA1028 + $(NoWarn);AZC0008;AZC0107;CA2214;CA1036;CA1067;CA1065;SA1028 true diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Azure.ResourceManager.Resources.csproj b/sdk/resources/Azure.ResourceManager.Resources/src/Azure.ResourceManager.Resources.csproj index 4a3f3254132ba..5fe9559605228 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Azure.ResourceManager.Resources.csproj +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Azure.ResourceManager.Resources.csproj @@ -7,7 +7,7 @@ This is a beta preview vesion. This version uses a next-generation code generator that introduces important breaking changes, but also new features (such as intuitive authentication, custom HTTP pipeline, distributed tracing and much more). azure;management;resource - $(NoWarn);AZC0008;AZC0001 + $(NoWarn);AZC0008 true diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Azure.ResourceManager.Sql.csproj b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Azure.ResourceManager.Sql.csproj index 5ce45feee4274..f992b7a4d2b56 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Azure.ResourceManager.Sql.csproj +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Azure.ResourceManager.Sql.csproj @@ -9,7 +9,7 @@ - $(NoWarn);AZC0001;CS1591 + $(NoWarn);CS1591 true diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Azure.ResourceManager.Storage.csproj b/sdk/storage/Azure.ResourceManager.Storage/src/Azure.ResourceManager.Storage.csproj index fd30ca28ebea1..d6f718da2c23f 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Azure.ResourceManager.Storage.csproj +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Azure.ResourceManager.Storage.csproj @@ -7,7 +7,7 @@ This is a beta preview vesion. This version uses a next-generation code generator that introduces important breaking changes, but also new features (such as intuitive authentication, custom HTTP pipeline, distributed tracing and much more). azure;management;storage - $(NoWarn);AZC0001;AZC0008 + $(NoWarn);AZC0008 true