From 52869b03ec94477520137842f165bd969a9f6582 Mon Sep 17 00:00:00 2001 From: Pranav K Date: Mon, 2 May 2016 11:27:05 -0700 Subject: [PATCH] Fix build warnings --- samples/HttpOverridesSample/project.json | 2 +- samples/ResponseBufferingSample/project.json | 2 +- .../project.json | 20 +++++++++-------- .../project.json | 22 ++++++++++--------- .../project.json | 4 ++-- .../project.json | 4 ++-- 6 files changed, 29 insertions(+), 25 deletions(-) diff --git a/samples/HttpOverridesSample/project.json b/samples/HttpOverridesSample/project.json index f55374058f..57abaa20b4 100644 --- a/samples/HttpOverridesSample/project.json +++ b/samples/HttpOverridesSample/project.json @@ -1,6 +1,6 @@ { "version": "1.0.0-*", - "compilationOptions": { + "buildOptions": { "emitEntryPoint": true }, "dependencies": { diff --git a/samples/ResponseBufferingSample/project.json b/samples/ResponseBufferingSample/project.json index f60e84b9fd..5967a15f35 100644 --- a/samples/ResponseBufferingSample/project.json +++ b/samples/ResponseBufferingSample/project.json @@ -5,7 +5,7 @@ "Microsoft.AspNetCore.Buffering": "0.1.0-*", "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*" }, - "compilationOptions": { + "buildOptions": { "emitEntryPoint": true }, "commands": { diff --git a/src/Microsoft.AspNetCore.Buffering/project.json b/src/Microsoft.AspNetCore.Buffering/project.json index 22f4e17452..6603b0c065 100644 --- a/src/Microsoft.AspNetCore.Buffering/project.json +++ b/src/Microsoft.AspNetCore.Buffering/project.json @@ -1,6 +1,6 @@ { "version": "0.1.0-*", - "compilationOptions": { + "buildOptions": { "warningsAsErrors": true, "keyFile": "../../tools/Key.snk", "nowarn": [ @@ -9,14 +9,16 @@ "xmlDoc": true }, "description": "ASP.NET Core middleware for buffering response bodies.", - "tags": [ - "aspnetcore", - "buffer", - "buffering" - ], - "repository": { - "type": "git", - "url": "git://github.com/aspnet/basicmiddleware" + "packOptions": { + "repository": { + "type": "git", + "url": "git://github.com/aspnet/basicmiddleware" + }, + "tags": [ + "aspnetcore", + "buffer", + "buffering" + ] }, "dependencies": { "Microsoft.AspNetCore.Http.Abstractions": "1.0.0-*" diff --git a/src/Microsoft.AspNetCore.HttpOverrides/project.json b/src/Microsoft.AspNetCore.HttpOverrides/project.json index 993b2c060d..9cc81aa3a4 100644 --- a/src/Microsoft.AspNetCore.HttpOverrides/project.json +++ b/src/Microsoft.AspNetCore.HttpOverrides/project.json @@ -1,6 +1,6 @@ { "version": "1.0.0-*", - "compilationOptions": { + "buildOptions": { "warningsAsErrors": true, "keyFile": "../../tools/Key.snk", "nowarn": [ @@ -9,15 +9,17 @@ "xmlDoc": true }, "description": "ASP.NET Core basic middleware for:\r\nX-Forwarded-* headers to forward headers from a proxy.\r\nHTTP method override header.", - "tags": [ - "aspnetcore", - "proxy", - "headers", - "xforwarded" - ], - "repository": { - "type": "git", - "url": "git://github.com/aspnet/basicmiddleware" + "packOptions": { + "repository": { + "type": "git", + "url": "git://github.com/aspnet/basicmiddleware" + }, + "tags": [ + "aspnetcore", + "proxy", + "headers", + "xforwarded" + ] }, "dependencies": { "Microsoft.AspNetCore.Http.Extensions": "1.0.0-*", diff --git a/test/Microsoft.AspNetCore.Buffering.Tests/project.json b/test/Microsoft.AspNetCore.Buffering.Tests/project.json index 1dae5aa4f2..5e07dcf77d 100644 --- a/test/Microsoft.AspNetCore.Buffering.Tests/project.json +++ b/test/Microsoft.AspNetCore.Buffering.Tests/project.json @@ -1,9 +1,10 @@ { "version": "1.0.0-*", - "compilationOptions": { + "buildOptions": { "warningsAsErrors": true }, "dependencies": { + "dotnet-test-xunit": "1.0.0-*", "Microsoft.NETCore.Platforms": "1.0.1-*", "Microsoft.AspNetCore.Buffering": "0.1.0-*", "Microsoft.AspNetCore.TestHost": "1.0.0-*", @@ -16,7 +17,6 @@ "version": "1.0.0-*", "type": "platform" }, - "dotnet-test-xunit": "1.0.0-*", "System.Diagnostics.Process": "4.1.0-*" }, "imports": [ diff --git a/test/Microsoft.AspNetCore.HttpOverrides.Tests/project.json b/test/Microsoft.AspNetCore.HttpOverrides.Tests/project.json index f47a1868f0..832f3a3a56 100644 --- a/test/Microsoft.AspNetCore.HttpOverrides.Tests/project.json +++ b/test/Microsoft.AspNetCore.HttpOverrides.Tests/project.json @@ -1,9 +1,10 @@ { "version": "1.0.0-*", - "compilationOptions": { + "buildOptions": { "warningsAsErrors": true }, "dependencies": { + "dotnet-test-xunit": "1.0.0-*", "Microsoft.NETCore.Platforms": "1.0.1-*", "Microsoft.AspNetCore.HttpOverrides": "1.0.0-*", "Microsoft.AspNetCore.TestHost": "1.0.0-*", @@ -17,7 +18,6 @@ "version": "1.0.0-*", "type": "platform" }, - "dotnet-test-xunit": "1.0.0-*", "System.Diagnostics.Process": "4.1.0-*" }, "imports": [