From b0e8ffc1f804b3057c35e34b7eb5ebe58eb8ede9 Mon Sep 17 00:00:00 2001 From: Pranav K Date: Mon, 2 May 2016 11:27:17 -0700 Subject: [PATCH] Fix build warnings --- samples/IdentitySample.Mvc/project.json | 14 +++++++----- .../project.json | 22 ++++++++++--------- .../project.json | 20 +++++++++-------- .../project.json | 4 ++-- .../project.json | 12 +++++----- .../project.json | 4 ++-- .../project.json | 4 ++-- 7 files changed, 44 insertions(+), 36 deletions(-) diff --git a/samples/IdentitySample.Mvc/project.json b/samples/IdentitySample.Mvc/project.json index bfafee41b7..e742d73d30 100644 --- a/samples/IdentitySample.Mvc/project.json +++ b/samples/IdentitySample.Mvc/project.json @@ -21,7 +21,7 @@ "Microsoft.AspNetCore.StaticFiles": "1.0.0-*", "Microsoft.AspNetCore.Server.IISIntegration": "1.0.0-*", "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*", - "Microsoft.EntityFrameworkCore.Tools":{ + "Microsoft.EntityFrameworkCore.Tools": { "version": "1.0.0-*", "type": "build" }, @@ -32,7 +32,7 @@ "Microsoft.Extensions.Logging.Console": "1.0.0-*", "Microsoft.Extensions.Logging.Debug": "1.0.0-*" }, - "compilationOptions": { + "buildOptions": { "emitEntryPoint": true }, "frameworks": { @@ -69,8 +69,10 @@ ], "postpublish": "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" }, - "content": [ - "appsettings.json", - "web.config" - ] + "publishOptions": { + "include": [ + "appsettings.json", + "web.config" + ] + } } \ No newline at end of file diff --git a/src/Microsoft.AspNetCore.Identity.EntityFrameworkCore/project.json b/src/Microsoft.AspNetCore.Identity.EntityFrameworkCore/project.json index e8cb850667..79ef439122 100644 --- a/src/Microsoft.AspNetCore.Identity.EntityFrameworkCore/project.json +++ b/src/Microsoft.AspNetCore.Identity.EntityFrameworkCore/project.json @@ -1,13 +1,7 @@ { "description": "ASP.NET Core Identity provider that uses Entity Framework Core.", - "tags": [ - "aspnetcore", - "entityframeworkcore", - "identity", - "membership" - ], "version": "1.0.0-*", - "compilationOptions": { + "buildOptions": { "warningsAsErrors": true, "keyFile": "../../tools/Key.snk", "nowarn": [ @@ -15,9 +9,17 @@ ], "xmlDoc": true }, - "repository": { - "type": "git", - "url": "git://github.com/aspnet/identity" + "packOptions": { + "repository": { + "type": "git", + "url": "git://github.com/aspnet/identity" + }, + "tags": [ + "aspnetcore", + "entityframeworkcore", + "identity", + "membership" + ] }, "dependencies": { "Microsoft.AspNetCore.Identity": "1.0.0-*", diff --git a/src/Microsoft.AspNetCore.Identity/project.json b/src/Microsoft.AspNetCore.Identity/project.json index ca7b0d7d82..cc178c06e4 100644 --- a/src/Microsoft.AspNetCore.Identity/project.json +++ b/src/Microsoft.AspNetCore.Identity/project.json @@ -1,12 +1,7 @@ { "description": "ASP.NET Core Identity is the membership system for building ASP.NET Core web applications, including membership, login, and user data. ASP.NET Core Identity allows you to add login features to your application and makes it easy to customize data about the logged in user.", - "tags": [ - "aspnetcore", - "identity", - "membership" - ], "version": "1.0.0-*", - "compilationOptions": { + "buildOptions": { "warningsAsErrors": true, "keyFile": "../../tools/Key.snk", "nowarn": [ @@ -14,9 +9,16 @@ ], "xmlDoc": true }, - "repository": { - "type": "git", - "url": "git://github.com/aspnet/identity" + "packOptions": { + "repository": { + "type": "git", + "url": "git://github.com/aspnet/identity" + }, + "tags": [ + "aspnetcore", + "identity", + "membership" + ] }, "dependencies": { "Microsoft.AspNetCore.Authentication.Cookies": "1.0.0-*", diff --git a/test/Microsoft.AspNetCore.Identity.EntityFrameworkCore.InMemory.Test/project.json b/test/Microsoft.AspNetCore.Identity.EntityFrameworkCore.InMemory.Test/project.json index 31ed2029a8..2e7167ed66 100644 --- a/test/Microsoft.AspNetCore.Identity.EntityFrameworkCore.InMemory.Test/project.json +++ b/test/Microsoft.AspNetCore.Identity.EntityFrameworkCore.InMemory.Test/project.json @@ -1,9 +1,10 @@ { - "compilationOptions": { + "buildOptions": { "warningsAsErrors": true, "keyFile": "../../tools/Key.snk" }, "dependencies": { + "dotnet-test-xunit": "1.0.0-*", "Microsoft.NETCore.Platforms": "1.0.1-*", "Microsoft.AspNetCore.Hosting": "1.0.0-*", "Microsoft.AspNetCore.Http": "1.0.0-*", @@ -22,7 +23,6 @@ "type": "platform" }, "moq.netcore": "4.4.0-beta8", - "dotnet-test-xunit": "1.0.0-*", "System.Diagnostics.Process": "4.1.0-*", "System.Diagnostics.TraceSource": "4.0.0-*" }, diff --git a/test/Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test/project.json b/test/Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test/project.json index 03f90f47e1..1f5be16c51 100644 --- a/test/Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test/project.json +++ b/test/Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test/project.json @@ -1,12 +1,15 @@ { - "compilationOptions": { + "buildOptions": { "warningsAsErrors": true, "keyFile": "../../tools/Key.snk" }, - "content": [ - "config.json" - ], + "publishOptions": { + "include": [ + "config.json" + ] + }, "dependencies": { + "dotnet-test-xunit": "1.0.0-*", "Microsoft.NETCore.Platforms": "1.0.1-*", "Microsoft.EntityFrameworkCore.InMemory": "1.0.0-*", "Microsoft.EntityFrameworkCore.SqlServer": "1.0.0-*", @@ -30,7 +33,6 @@ "type": "platform" }, "moq.netcore": "4.4.0-beta8", - "dotnet-test-xunit": "1.0.0-*", "System.Diagnostics.Process": "4.1.0-*", "System.Diagnostics.TraceSource": "4.0.0-*" }, diff --git a/test/Microsoft.AspNetCore.Identity.InMemory.Test/project.json b/test/Microsoft.AspNetCore.Identity.InMemory.Test/project.json index f428b17cf2..06600f6fdd 100644 --- a/test/Microsoft.AspNetCore.Identity.InMemory.Test/project.json +++ b/test/Microsoft.AspNetCore.Identity.InMemory.Test/project.json @@ -1,9 +1,10 @@ { - "compilationOptions": { + "buildOptions": { "warningsAsErrors": true, "keyFile": "../../tools/Key.snk" }, "dependencies": { + "dotnet-test-xunit": "1.0.0-*", "Microsoft.NETCore.Platforms": "1.0.1-*", "Microsoft.AspNetCore.Authentication": "1.0.0-*", "Microsoft.AspNetCore.Authentication.Cookies": "1.0.0-*", @@ -23,7 +24,6 @@ "type": "platform" }, "moq.netcore": "4.4.0-beta8", - "dotnet-test-xunit": "1.0.0-*", "System.Diagnostics.Process": "4.1.0-*", "System.Diagnostics.TraceSource": "4.0.0-*" }, diff --git a/test/Microsoft.AspNetCore.Identity.Test/project.json b/test/Microsoft.AspNetCore.Identity.Test/project.json index d90c98b093..e1eb352fff 100644 --- a/test/Microsoft.AspNetCore.Identity.Test/project.json +++ b/test/Microsoft.AspNetCore.Identity.Test/project.json @@ -1,9 +1,10 @@ { - "compilationOptions": { + "buildOptions": { "warningsAsErrors": true, "keyFile": "../../tools/Key.snk" }, "dependencies": { + "dotnet-test-xunit": "1.0.0-*", "Microsoft.NETCore.Platforms": "1.0.1-*", "Microsoft.AspNetCore.Hosting": "1.0.0-*", "Microsoft.AspNetCore.Http": "1.0.0-*", @@ -22,7 +23,6 @@ "type": "platform" }, "moq.netcore": "4.4.0-beta8", - "dotnet-test-xunit": "1.0.0-*", "System.Diagnostics.TraceSource": "4.0.0-*" }, "imports": [