Enable package validation for libs introduced in .NET 7 (#79221)
authorViktor Hofer <viktor.hofer@microsoft.com>
Mon, 5 Dec 2022 17:12:32 +0000 (18:12 +0100)
committerGitHub <noreply@github.com>
Mon, 5 Dec 2022 17:12:32 +0000 (18:12 +0100)
Fixes https://github.com/dotnet/runtime/issues/78705

src/libraries/System.Runtime.Serialization.Schema/src/System.Runtime.Serialization.Schema.csproj
src/libraries/System.Security.Cryptography.Cose/src/System.Security.Cryptography.Cose.csproj
src/libraries/System.Threading.RateLimiting/src/System.Threading.RateLimiting.csproj

index 4348feeb183ed037d22f5f3519880249b93865f7..0f4921f9e50138a4acf231996bfb17a4dfd6a225 100644 (file)
@@ -2,8 +2,6 @@
   <PropertyGroup>
     <TargetFrameworks>$(NetCoreAppCurrent);$(NetCoreAppPrevious)</TargetFrameworks>
     <IsPackable>true</IsPackable>
-    <!-- TODO: Remove this setting when the package shipped with .NET 7. -->
-    <DisablePackageBaselineValidation>true</DisablePackageBaselineValidation>
     <PackageDescription>Provides support for importing and exporting xsd schemas for DataContractSerializer.
 
 Commonly Used Types:
index 58409e44d78e5c503a93b263c378ebbd78d295e3..23203e5e3e485fa42ed7656387924caeec1e6cfd 100644 (file)
@@ -3,10 +3,6 @@
     <TargetFrameworks>$(NetCoreAppCurrent);$(NetCoreAppPrevious);$(NetCoreAppMinimum);netstandard2.0;$(NetFrameworkMinimum)</TargetFrameworks>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <IsPackable>true</IsPackable>
-    <!-- Disabling baseline validation since this is a brand new package.
-       Once this package has shipped a stable version, the following line
-       should be removed in order to re-enable validation. -->
-    <DisablePackageBaselineValidation>true</DisablePackageBaselineValidation>
     <PackageDescription>Provides support for CBOR Object Signing and Encryption (COSE).</PackageDescription>
   </PropertyGroup>
 
index 5039c884218e39a1c6345a7ee367370e9fd7f0c7..d1400f97ec8b666a26747d6390eb63cd1ba9c549 100644 (file)
@@ -2,8 +2,6 @@
   <PropertyGroup>
     <TargetFrameworks>$(NetCoreAppCurrent);$(NetCoreAppPrevious);$(NetCoreAppMinimum);netstandard2.0;$(NetFrameworkMinimum)</TargetFrameworks>
     <IsPackable>true</IsPackable>
-    <!-- Enable package baseline validation this when we release the 7.0.0 version. -->
-    <DisablePackageBaselineValidation>true</DisablePackageBaselineValidation>
     <PackageDescription>APIs to help manage rate limiting.
 
 Commonly Used Types: