From a0169238d0dff9f53b0353a2c448dfc7b0b6263a Mon Sep 17 00:00:00 2001 From: Ajay Bhargav Baaskaran Date: Thu, 18 Feb 2016 16:09:37 -0800 Subject: [PATCH] Enabled xml doc generation --- NugetPackageVerifier.json | 16 ++++++++++++++++ .../Properties/AssemblyInfo.cs | 8 ++++++++ .../project.json | 4 +++- .../Properties/AssemblyInfo.cs | 8 ++++++++ src/dotnet-publish-iis/project.json | 4 +++- 5 files changed, 38 insertions(+), 2 deletions(-) create mode 100644 NugetPackageVerifier.json create mode 100644 src/Microsoft.AspNetCore.IISPlatformHandler/Properties/AssemblyInfo.cs create mode 100644 src/dotnet-publish-iis/Properties/AssemblyInfo.cs diff --git a/NugetPackageVerifier.json b/NugetPackageVerifier.json new file mode 100644 index 0000000000..2113ed609c --- /dev/null +++ b/NugetPackageVerifier.json @@ -0,0 +1,16 @@ +{ + "adx": { // Packages written by the ADX team and that ship on NuGet.org + "rules": [ + "AdxVerificationCompositeRule" + ], + "packages": { + "dotnet-publish-iis": { }, + "Microsoft.AspNetCore.IISPlatformHandler": { } + } + }, + "Default": { // Rules to run for packages not listed in any other set. + "rules": [ + "DefaultCompositeRule" + ] + } +} \ No newline at end of file diff --git a/src/Microsoft.AspNetCore.IISPlatformHandler/Properties/AssemblyInfo.cs b/src/Microsoft.AspNetCore.IISPlatformHandler/Properties/AssemblyInfo.cs new file mode 100644 index 0000000000..b2437d9ad6 --- /dev/null +++ b/src/Microsoft.AspNetCore.IISPlatformHandler/Properties/AssemblyInfo.cs @@ -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")] \ No newline at end of file diff --git a/src/Microsoft.AspNetCore.IISPlatformHandler/project.json b/src/Microsoft.AspNetCore.IISPlatformHandler/project.json index 7a03687fb4..a27b4093e4 100644 --- a/src/Microsoft.AspNetCore.IISPlatformHandler/project.json +++ b/src/Microsoft.AspNetCore.IISPlatformHandler/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 components for working with the IIS HttpPlatformHandler module.", "repository": { diff --git a/src/dotnet-publish-iis/Properties/AssemblyInfo.cs b/src/dotnet-publish-iis/Properties/AssemblyInfo.cs new file mode 100644 index 0000000000..b2437d9ad6 --- /dev/null +++ b/src/dotnet-publish-iis/Properties/AssemblyInfo.cs @@ -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")] \ No newline at end of file diff --git a/src/dotnet-publish-iis/project.json b/src/dotnet-publish-iis/project.json index 1602b130ee..8c70943541 100644 --- a/src/dotnet-publish-iis/project.json +++ b/src/dotnet-publish-iis/project.json @@ -4,7 +4,9 @@ "compilationOptions": { "emitEntryPoint": true, "warningsAsErrors": true, - "keyFile": "../../tools/Key.snk" + "keyFile": "../../tools/Key.snk", + "nowarn": [ "CS1591" ], + "xmlDoc": true }, "dependencies": {