diff --git a/samples/RoutingSample.Web/project.json b/samples/RoutingSample.Web/project.json index 308b46ee96..4f5cb47a11 100644 --- a/samples/RoutingSample.Web/project.json +++ b/samples/RoutingSample.Web/project.json @@ -5,7 +5,7 @@ "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*", "Microsoft.AspNetCore.Routing": "1.0.0-*" }, - "compilationOptions": { + "buildOptions": { "emitEntryPoint": true }, "frameworks": { @@ -22,9 +22,11 @@ ] } }, - "content": [ - "web.config" - ], + "publishOptions": { + "include": [ + "web.config" + ] + }, "tools": { "Microsoft.AspNetCore.Server.IISIntegration.Tools": { "version": "1.0.0-*", diff --git a/src/Microsoft.AspNetCore.Routing.Abstractions/project.json b/src/Microsoft.AspNetCore.Routing.Abstractions/project.json index 1b949d4e8c..6beda5221d 100644 --- a/src/Microsoft.AspNetCore.Routing.Abstractions/project.json +++ b/src/Microsoft.AspNetCore.Routing.Abstractions/project.json @@ -1,15 +1,17 @@ { "description": "ASP.NET Core abstractions for routing requests to application logic and for generating links.\r\nCommonly used types:\r\nMicrosoft.AspNetCore.Routing.IRouteHandler\r\nMicrosoft.AspNetCore.Routing.RouteData.", - "tags": [ - "aspnetcore", - "routing" - ], "version": "1.0.0-*", - "repository": { - "type": "git", - "url": "git://github.com/aspnet/routing" + "packOptions": { + "repository": { + "type": "git", + "url": "git://github.com/aspnet/routing" + }, + "tags": [ + "aspnetcore", + "routing" + ] }, - "compilationOptions": { + "buildOptions": { "warningsAsErrors": true, "keyFile": "../../tools/Key.snk", "nowarn": [ diff --git a/src/Microsoft.AspNetCore.Routing.DecisionTree.Sources/project.json b/src/Microsoft.AspNetCore.Routing.DecisionTree.Sources/project.json index 4f4555c3a2..42ae9fbc76 100644 --- a/src/Microsoft.AspNetCore.Routing.DecisionTree.Sources/project.json +++ b/src/Microsoft.AspNetCore.Routing.DecisionTree.Sources/project.json @@ -1,11 +1,13 @@ { "description": "Components for building a DecisionTree.", "version": "1.0.0-*", - "repository": { - "type": "git", - "url": "git://github.com/aspnet/routing" + "packOptions": { + "repository": { + "type": "git", + "url": "git://github.com/aspnet/routing" + } }, - "compilationOptions": { + "buildOptions": { "warningsAsErrors": true, "keyFile": "../../tools/Key.snk" }, diff --git a/src/Microsoft.AspNetCore.Routing/project.json b/src/Microsoft.AspNetCore.Routing/project.json index ca8cfb0d31..c442fc5ef2 100644 --- a/src/Microsoft.AspNetCore.Routing/project.json +++ b/src/Microsoft.AspNetCore.Routing/project.json @@ -1,15 +1,17 @@ { "description": "ASP.NET Core middleware for routing requests to application logic and for generating links.\r\nCommonly used types:\r\n Microsoft.AspNetCore.Routing.Route\r\nMicrosoft.AspNetCore.Routing.RouteCollection", - "tags": [ - "aspnetcore", - "routing" - ], "version": "1.0.0-*", - "repository": { - "type": "git", - "url": "git://github.com/aspnet/routing" + "packOptions": { + "repository": { + "type": "git", + "url": "git://github.com/aspnet/routing" + }, + "tags": [ + "aspnetcore", + "routing" + ] }, - "compilationOptions": { + "buildOptions": { "warningsAsErrors": true, "keyFile": "../../tools/Key.snk", "nowarn": [ diff --git a/test/Microsoft.AspNetCore.Mvc.Routing.Abstractions.Tests/project.json b/test/Microsoft.AspNetCore.Mvc.Routing.Abstractions.Tests/project.json index 79a926c680..46fec75132 100644 --- a/test/Microsoft.AspNetCore.Mvc.Routing.Abstractions.Tests/project.json +++ b/test/Microsoft.AspNetCore.Mvc.Routing.Abstractions.Tests/project.json @@ -1,8 +1,9 @@ { - "compilationOptions": { + "buildOptions": { "warningsAsErrors": true }, "dependencies": { + "dotnet-test-xunit": "1.0.0-*", "Microsoft.NETCore.Platforms": "1.0.1-*", "Microsoft.AspNetCore.Routing.Abstractions": "1.0.0-*", "Microsoft.AspNetCore.Testing": "1.0.0-*", @@ -16,7 +17,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.Routing.DecisionTree.Sources.Tests/project.json b/test/Microsoft.AspNetCore.Routing.DecisionTree.Sources.Tests/project.json index 2a9761441e..84d8b150be 100644 --- a/test/Microsoft.AspNetCore.Routing.DecisionTree.Sources.Tests/project.json +++ b/test/Microsoft.AspNetCore.Routing.DecisionTree.Sources.Tests/project.json @@ -1,8 +1,9 @@ { - "compilationOptions": { + "buildOptions": { "warningsAsErrors": true }, "dependencies": { + "dotnet-test-xunit": "1.0.0-*", "Microsoft.NETCore.Platforms": "1.0.1-*", "Microsoft.AspNetCore.Routing": "1.0.0-*", "Microsoft.AspNetCore.Routing.DecisionTree.Sources": { @@ -19,7 +20,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.Routing.Tests/project.json b/test/Microsoft.AspNetCore.Routing.Tests/project.json index db86d9d9ca..0f3270df83 100644 --- a/test/Microsoft.AspNetCore.Routing.Tests/project.json +++ b/test/Microsoft.AspNetCore.Routing.Tests/project.json @@ -1,8 +1,9 @@ { - "compilationOptions": { + "buildOptions": { "warningsAsErrors": true }, "dependencies": { + "dotnet-test-xunit": "1.0.0-*", "Microsoft.NETCore.Platforms": "1.0.1-*", "Microsoft.AspNetCore.Http": "1.0.0-*", "Microsoft.AspNetCore.Routing": "1.0.0-*", @@ -21,7 +22,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-*" },