diff --git a/NuGetPackageVerifier.json b/NuGetPackageVerifier.json
index 49fcb32a52..67e35e0f0f 100644
--- a/NuGetPackageVerifier.json
+++ b/NuGetPackageVerifier.json
@@ -1,12 +1,7 @@
{
"adx": { // Packages written by the ADX team and that ship on NuGet.org
"rules": [
- "AssemblyHasDocumentFileRule",
- "AssemblyHasVersionAttributesRule",
- "AssemblyHasServicingAttributeRule",
- "AssemblyHasNeutralResourcesLanguageAttributeRule",
- "SatellitePackageRule",
- "StrictSemanticVersionValidationRule"
+ "AdxVerificationCompositeRule"
],
"packages": {
"Microsoft.AspNetCore.Antiforgery": { }
@@ -14,12 +9,7 @@
},
"Default": { // Rules to run for packages not listed in any other set.
"rules": [
- "AssemblyHasDocumentFileRule",
- "AssemblyHasVersionAttributesRule",
- "AssemblyHasServicingAttributeRule",
- "AssemblyHasNeutralResourcesLanguageAttributeRule",
- "SatellitePackageRule",
- "StrictSemanticVersionValidationRule"
+ "DefaultCompositeRule"
]
}
}
\ No newline at end of file
diff --git a/src/Microsoft.AspNetCore.Antiforgery/IAntiforgery.cs b/src/Microsoft.AspNetCore.Antiforgery/IAntiforgery.cs
index 8d62f67ec1..6ac2e44e37 100644
--- a/src/Microsoft.AspNetCore.Antiforgery/IAntiforgery.cs
+++ b/src/Microsoft.AspNetCore.Antiforgery/IAntiforgery.cs
@@ -41,7 +41,7 @@ namespace Microsoft.AspNetCore.Antiforgery
///
/// The associated with the current request.
///
- /// A that, when completed, returns true if the is requst uses a safe HTTP
+ /// A that, when completed, returns true if the is requst uses a safe HTTP
/// method or contains a value antiforgery token, otherwise returns false.
///
Task IsRequestValidAsync(HttpContext httpContext);
diff --git a/src/Microsoft.AspNetCore.Antiforgery/project.json b/src/Microsoft.AspNetCore.Antiforgery/project.json
index bcd5357d8d..d5bda2ecf5 100644
--- a/src/Microsoft.AspNetCore.Antiforgery/project.json
+++ b/src/Microsoft.AspNetCore.Antiforgery/project.json
@@ -3,7 +3,9 @@
"version": "1.0.0-*",
"compilationOptions": {
"warningsAsErrors": true,
- "keyFile": "../../tools/Key.snk"
+ "keyFile": "../../tools/Key.snk",
+ "nowarn": [ "CS1591" ],
+ "xmlDoc": true
},
"repository": {
"type": "git",