Enabling NuGetPackageVerifier

This commit is contained in:
Ajay Bhargav Baaskaran 2015-09-23 12:53:00 -07:00
parent 49520a2a73
commit cde733a63a
2 changed files with 37 additions and 0 deletions

29
NuGetPackageVerifier.json Normal file
View File

@ -0,0 +1,29 @@
{
"adx": { // Packages written by the ADX team and that ship on NuGet.org
"rules": [
"AssemblyHasDocumentFileRule",
"AssemblyHasVersionAttributesRule",
"AssemblyHasServicingAttributeRule",
"AssemblyHasNeutralResourcesLanguageAttributeRule",
"SatellitePackageRule",
"StrictSemanticVersionValidationRule"
],
"packages": {
"Microsoft.AspNet.Hosting": { },
"Microsoft.AspNet.Hosting.Abstractions": { },
"Microsoft.AspNet.Hosting.Server.Abstractions": { },
"Microsoft.AspNet.Server.Testing": { },
"Microsoft.AspNet.TestHost": { }
}
},
"Default": { // Rules to run for packages not listed in any other set.
"rules": [
"AssemblyHasDocumentFileRule",
"AssemblyHasVersionAttributesRule",
"AssemblyHasServicingAttributeRule",
"AssemblyHasNeutralResourcesLanguageAttributeRule",
"SatellitePackageRule",
"StrictSemanticVersionValidationRule"
]
}
}

View File

@ -0,0 +1,8 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Reflection;
using System.Resources;
[assembly: AssemblyMetadata("Serviceable", "True")]
[assembly: NeutralResourcesLanguage("en-us")]