diff --git a/Directory.Build.props b/Directory.Build.props
index 40b287c0a5..2b70dcdbba 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -23,6 +23,9 @@
Customizations
$(CustomizationsPrefix).props
$(CustomizationsPrefix).cs
+
+
+ $(WarningsNotAsErrors);NU1901;NU1902;NU1903;NU1904
diff --git a/NuGet.config b/NuGet.config
index 7f03f4da42..f146167da4 100644
--- a/NuGet.config
+++ b/NuGet.config
@@ -24,4 +24,8 @@
+
+
+
+
diff --git a/src/packageSourceGenerator/PackageSourceGenerator.proj b/src/packageSourceGenerator/PackageSourceGenerator.proj
index 5ec604b970..88f36f8ce0 100644
--- a/src/packageSourceGenerator/PackageSourceGenerator.proj
+++ b/src/packageSourceGenerator/PackageSourceGenerator.proj
@@ -2,6 +2,7 @@
$(NetCurrent)
+ true
$(ArtifactsBinDir)PackageSourceGeneratorTask\$(Configuration)\$(NetCurrent)\PackageSourceGeneratorTask.dll
$(RepoRoot)src\referencePackages\src\
diff --git a/src/referencePackages/Directory.Build.props b/src/referencePackages/Directory.Build.props
index bbeeb6f2bf..4482751a21 100644
--- a/src/referencePackages/Directory.Build.props
+++ b/src/referencePackages/Directory.Build.props
@@ -33,6 +33,7 @@
false
Release
false
+ false
true
true
diff --git a/src/targetPacks/Directory.Build.props b/src/targetPacks/Directory.Build.props
index cda5fec2a1..433eeeeb08 100644
--- a/src/targetPacks/Directory.Build.props
+++ b/src/targetPacks/Directory.Build.props
@@ -10,6 +10,7 @@
netstandard2.0
false
true
+ false
true