diff --git a/NuGetPackageVerifier.json b/NuGetPackageVerifier.json index 0e6d309476..cb2711515d 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.StaticFiles": { } @@ -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.StaticFiles/DefaultFilesMiddleware.cs b/src/Microsoft.AspNetCore.StaticFiles/DefaultFilesMiddleware.cs index 077f7e8199..ecd51ef831 100644 --- a/src/Microsoft.AspNetCore.StaticFiles/DefaultFilesMiddleware.cs +++ b/src/Microsoft.AspNetCore.StaticFiles/DefaultFilesMiddleware.cs @@ -26,6 +26,7 @@ namespace Microsoft.AspNetCore.StaticFiles /// Creates a new instance of the DefaultFilesMiddleware. /// /// The next middleware in the pipeline. + /// The used by this middleware. /// The configuration options for this middleware. public DefaultFilesMiddleware(RequestDelegate next, IHostingEnvironment hostingEnv, IOptions options) { diff --git a/src/Microsoft.AspNetCore.StaticFiles/DirectoryBrowserMiddleware.cs b/src/Microsoft.AspNetCore.StaticFiles/DirectoryBrowserMiddleware.cs index e40926cc39..479043a15c 100644 --- a/src/Microsoft.AspNetCore.StaticFiles/DirectoryBrowserMiddleware.cs +++ b/src/Microsoft.AspNetCore.StaticFiles/DirectoryBrowserMiddleware.cs @@ -25,6 +25,7 @@ namespace Microsoft.AspNetCore.StaticFiles /// Creates a new instance of the SendFileMiddleware. /// /// The next middleware in the pipeline. + /// The used by this middleware. /// The configuration for this middleware. public DirectoryBrowserMiddleware(RequestDelegate next, IHostingEnvironment hostingEnv, IOptions options) { diff --git a/src/Microsoft.AspNetCore.StaticFiles/StaticFileMiddleware.cs b/src/Microsoft.AspNetCore.StaticFiles/StaticFileMiddleware.cs index cfbb6cc77d..4b5a2da50d 100644 --- a/src/Microsoft.AspNetCore.StaticFiles/StaticFileMiddleware.cs +++ b/src/Microsoft.AspNetCore.StaticFiles/StaticFileMiddleware.cs @@ -26,6 +26,7 @@ namespace Microsoft.AspNetCore.StaticFiles /// Creates a new instance of the StaticFileMiddleware. /// /// The next middleware in the pipeline. + /// The used by this middleware. /// The configuration options. /// An instance used to create loggers. public StaticFileMiddleware(RequestDelegate next, IHostingEnvironment hostingEnv, IOptions options, ILoggerFactory loggerFactory) diff --git a/src/Microsoft.AspNetCore.StaticFiles/project.json b/src/Microsoft.AspNetCore.StaticFiles/project.json index 795af04383..ba26109a93 100644 --- a/src/Microsoft.AspNetCore.StaticFiles/project.json +++ b/src/Microsoft.AspNetCore.StaticFiles/project.json @@ -2,7 +2,9 @@ "version": "1.0.0-*", "compilationOptions": { "warningsAsErrors": true, - "keyFile": "../../tools/Key.snk" + "keyFile": "../../tools/Key.snk", + "nowarn": [ "CS1591" ], + "xmlDoc": true }, "description": "ASP.NET 5 static files middleware.", "repository": {