From 54b7e98b4555f6199cecd2f1774db7df97d82bf9 Mon Sep 17 00:00:00 2001 From: Amir_Chabok Date: Fri, 9 Dec 2016 22:15:54 +0330 Subject: [PATCH] Add Project.json & Fix error on routing --- .../routing/sample/RoutingSample/project.json | 45 ++++++++++--------- 1 file changed, 25 insertions(+), 20 deletions(-) diff --git a/aspnetcore/fundamentals/routing/sample/RoutingSample/project.json b/aspnetcore/fundamentals/routing/sample/RoutingSample/project.json index 406dace9e5..a4e9e857d2 100644 --- a/aspnetcore/fundamentals/routing/sample/RoutingSample/project.json +++ b/aspnetcore/fundamentals/routing/sample/RoutingSample/project.json @@ -1,46 +1,51 @@ -{ - "version": "1.0.0-*", - "buildOptions": { - "emitEntryPoint": true - }, - "runtimeOptions": { - "gcConcurrent": true, - "gcServer": true - }, - +{ "dependencies": { "Microsoft.NETCore.App": { - "version": "1.0.0", + "version": "1.0.1", "type": "platform" }, - "Microsoft.AspNetCore.Server.Kestrel": "1.0.0", - "Microsoft.AspNetCore.Routing": "1.0.0", + "Microsoft.AspNetCore.Routing": "1.0.1", + "Microsoft.AspNetCore.Server.IISIntegration": "1.0.0", + "Microsoft.AspNetCore.Server.Kestrel": "1.0.1", "Microsoft.Extensions.Logging.Console": "1.0.0", - "Microsoft.AspNetCore.Server.IISIntegration": "1.0.0" }, "tools": { - "Microsoft.AspNetCore.Server.IISIntegration.Tools": { - "version": "1.0.0-preview1-final", - "imports": "portable-net45+win8+dnxcore50" - } + "BundlerMinifier.Core": "2.0.238", + "Microsoft.AspNetCore.Razor.Tools": "1.0.0-preview2-final" }, "frameworks": { "netcoreapp1.0": { + "imports": [ + "dotnet5.6", + "portable-net45+win8" + ] + } + }, + + "buildOptions": { + "emitEntryPoint": true, + "preserveCompilationContext": true + }, + + "runtimeOptions": { + "configProperties": { + "System.GC.Server": true } }, "publishOptions": { "include": [ "wwwroot", - "Views", + "**/*.cshtml", "appsettings.json", "web.config" ] }, - + "scripts": { + "prepublish": [ "bower install", "dotnet bundle" ], "postpublish": [ "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" ] } }