[release/6.0] Disable native ports package validation (#61697)
authorSantiago Fernandez Madero <safern@microsoft.com>
Wed, 17 Nov 2021 03:20:21 +0000 (19:20 -0800)
committerGitHub <noreply@github.com>
Wed, 17 Nov 2021 03:20:21 +0000 (19:20 -0800)
src/libraries/System.IO.Ports/pkg/runtime.native.System.IO.Ports.proj
src/libraries/System.IO.Ports/pkg/runtime.native.System.IO.Ports.props

index 86043b1f0aa51ae8d51777dc6c5530113ebdcf8d..ff96f2f4fca1355e405885cf9921ffbac4a3c258 100644 (file)
@@ -6,6 +6,8 @@
     <NoTargetsDoNotReferenceOutputAssemblies>false</NoTargetsDoNotReferenceOutputAssemblies>
     <!-- This is a meta package and doesn't contain any libs. -->
     <NoWarn>$(NoWarn);NU5128</NoWarn>
+    <!-- It doesn't make sense to run package validation on native packages -->
+    <EnablePackageValidation>false</EnablePackageValidation>
   </PropertyGroup>
 
   <ItemGroup>
index dd4aff2fd0e4562ee81e065d0807569818290b9c..4824f36ff0a4bf065bfeb132241a8274b8ea9687 100644 (file)
@@ -13,6 +13,8 @@
     <UseRuntimePackageDisclaimer>true</UseRuntimePackageDisclaimer>
     <!-- This is a native package and doesn't contain any ref/lib assets. -->
     <NoWarn>$(NoWarn);NU5128</NoWarn>
+    <!-- It doesn't make sense to run package validation on native packages -->
+    <EnablePackageValidation>false</EnablePackageValidation>
   </PropertyGroup>
 
   <ItemGroup>