From e915f36748672aa795a205f9f74318a1dd39cf9d Mon Sep 17 00:00:00 2001 From: ryanbrandenburg Date: Thu, 7 Apr 2016 17:07:53 -0700 Subject: [PATCH] Update samples and test sites to new formats --- samples/ActionConstraintSample.Web/Startup.cs | 2 ++ samples/ActionConstraintSample.Web/project.json | 2 +- samples/CustomRouteSample.Web/Startup.cs | 2 ++ samples/CustomRouteSample.Web/project.json | 2 +- samples/EmbeddedViewSample.Web/Startup.cs | 2 ++ samples/EmbeddedViewSample.Web/project.json | 2 +- samples/FormatFilterSample.Web/Startup.cs | 2 ++ samples/FormatFilterSample.Web/project.json | 2 +- samples/InlineConstraintSample.Web/Startup.cs | 4 +++- samples/InlineConstraintSample.Web/project.json | 2 +- samples/JsonPatchSample.Web/Startup.cs | 2 ++ samples/JsonPatchSample.Web/project.json | 3 ++- samples/LocalizationSample.Web/Startup.cs | 2 ++ samples/LocalizationSample.Web/project.json | 2 +- samples/MvcSandbox/Startup.cs | 2 +- samples/MvcSandbox/project.json | 13 +++++++++++-- samples/MvcSubAreaSample.Web/Startup.cs | 2 ++ samples/MvcSubAreaSample.Web/project.json | 9 ++++++++- samples/TagHelperSample.Web/Startup.cs | 2 ++ samples/TagHelperSample.Web/project.json | 10 +++++++++- samples/UrlHelperSample.Web/Startup.cs | 2 ++ samples/UrlHelperSample.Web/project.json | 2 +- .../project.json | 2 +- test/WebSites/ApiExplorerWebSite/Startup.cs | 2 ++ test/WebSites/ApiExplorerWebSite/project.json | 2 +- test/WebSites/ApplicationModelWebSite/Startup.cs | 2 ++ test/WebSites/ApplicationModelWebSite/project.json | 2 +- test/WebSites/BasicWebSite/Startup.cs | 2 ++ test/WebSites/BasicWebSite/project.json | 9 ++++++++- .../project.json | 4 ++-- .../ControllersFromServicesWebSite/Startup.cs | 2 ++ .../ControllersFromServicesWebSite/project.json | 8 +++++++- test/WebSites/CorsWebSite/Startup.cs | 2 ++ test/WebSites/CorsWebSite/project.json | 8 ++++---- test/WebSites/ErrorPageMiddlewareWebSite/Startup.cs | 2 ++ .../ErrorPageMiddlewareWebSite/project.json | 2 +- test/WebSites/FilesWebSite/Startup.cs | 2 ++ test/WebSites/FilesWebSite/project.json | 2 +- test/WebSites/FiltersWebSite/Startup.cs | 2 ++ test/WebSites/FiltersWebSite/project.json | 2 +- test/WebSites/FormatterWebSite/Startup.cs | 2 ++ test/WebSites/FormatterWebSite/project.json | 2 +- test/WebSites/HtmlGenerationWebSite/Startup.cs | 2 ++ test/WebSites/HtmlGenerationWebSite/project.json | 8 +++++++- .../Startup.cs | 1 + .../project.json | 2 +- test/WebSites/RazorWebSite/Startup.cs | 2 ++ test/WebSites/RazorWebSite/project.json | 9 +++++---- test/WebSites/RoutingWebSite/Startup.cs | 2 ++ test/WebSites/RoutingWebSite/project.json | 2 +- test/WebSites/SimpleWebSite/Startup.cs | 2 ++ test/WebSites/SimpleWebSite/project.json | 2 +- test/WebSites/TagHelpersWebSite/Startup.cs | 2 ++ test/WebSites/TagHelpersWebSite/project.json | 8 +++++++- test/WebSites/VersioningWebSite/Startup.cs | 2 ++ test/WebSites/VersioningWebSite/project.json | 2 +- test/WebSites/WebApiCompatShimWebSite/Startup.cs | 2 ++ test/WebSites/WebApiCompatShimWebSite/project.json | 2 +- test/WebSites/XmlFormattersWebSite/Startup.cs | 2 ++ test/WebSites/XmlFormattersWebSite/project.json | 2 +- 60 files changed, 147 insertions(+), 41 deletions(-) diff --git a/samples/ActionConstraintSample.Web/Startup.cs b/samples/ActionConstraintSample.Web/Startup.cs index e4a49af4a6..700b83ceda 100644 --- a/samples/ActionConstraintSample.Web/Startup.cs +++ b/samples/ActionConstraintSample.Web/Startup.cs @@ -1,6 +1,7 @@ // 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.IO; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.DependencyInjection; @@ -30,6 +31,7 @@ namespace ActionConstraintSample.Web public static void Main(string[] args) { var host = new WebHostBuilder() + .UseContentRoot(Directory.GetCurrentDirectory()) .UseDefaultHostingConfiguration(args) .UseIISIntegration() .UseKestrel() diff --git a/samples/ActionConstraintSample.Web/project.json b/samples/ActionConstraintSample.Web/project.json index 437e5db977..dcc287a68c 100644 --- a/samples/ActionConstraintSample.Web/project.json +++ b/samples/ActionConstraintSample.Web/project.json @@ -10,7 +10,7 @@ "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*" }, "frameworks": { - "net451": {}, + "net451": { }, "netcoreapp1.0": { "imports": [ "dnxcore50", diff --git a/samples/CustomRouteSample.Web/Startup.cs b/samples/CustomRouteSample.Web/Startup.cs index e2ee8f1e70..e35c979179 100644 --- a/samples/CustomRouteSample.Web/Startup.cs +++ b/samples/CustomRouteSample.Web/Startup.cs @@ -1,6 +1,7 @@ // 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.IO; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.DependencyInjection; @@ -27,6 +28,7 @@ namespace CustomRouteSample.Web public static void Main(string[] args) { var host = new WebHostBuilder() + .UseContentRoot(Directory.GetCurrentDirectory()) .UseDefaultHostingConfiguration(args) .UseIISIntegration() .UseKestrel() diff --git a/samples/CustomRouteSample.Web/project.json b/samples/CustomRouteSample.Web/project.json index 437e5db977..dcc287a68c 100644 --- a/samples/CustomRouteSample.Web/project.json +++ b/samples/CustomRouteSample.Web/project.json @@ -10,7 +10,7 @@ "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*" }, "frameworks": { - "net451": {}, + "net451": { }, "netcoreapp1.0": { "imports": [ "dnxcore50", diff --git a/samples/EmbeddedViewSample.Web/Startup.cs b/samples/EmbeddedViewSample.Web/Startup.cs index 7bf6887247..f29393c2e3 100644 --- a/samples/EmbeddedViewSample.Web/Startup.cs +++ b/samples/EmbeddedViewSample.Web/Startup.cs @@ -1,6 +1,7 @@ // 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.IO; using System.Reflection; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; @@ -44,6 +45,7 @@ namespace EmbeddedViewSample.Web public static void Main(string[] args) { var host = new WebHostBuilder() + .UseContentRoot(Directory.GetCurrentDirectory()) .UseDefaultHostingConfiguration(args) .UseIISIntegration() .UseKestrel() diff --git a/samples/EmbeddedViewSample.Web/project.json b/samples/EmbeddedViewSample.Web/project.json index 2a27c74048..9d088a44f2 100644 --- a/samples/EmbeddedViewSample.Web/project.json +++ b/samples/EmbeddedViewSample.Web/project.json @@ -12,7 +12,7 @@ "Microsoft.Extensions.FileProviders.Embedded": "1.0.0-*" }, "frameworks": { - "net451": {}, + "net451": { }, "netcoreapp1.0": { "imports": [ "dnxcore50", diff --git a/samples/FormatFilterSample.Web/Startup.cs b/samples/FormatFilterSample.Web/Startup.cs index 4dfb799a58..bbe39d0719 100644 --- a/samples/FormatFilterSample.Web/Startup.cs +++ b/samples/FormatFilterSample.Web/Startup.cs @@ -1,6 +1,7 @@ // 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.IO; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc; @@ -40,6 +41,7 @@ namespace FormatFilterSample.Web public static void Main(string[] args) { var host = new WebHostBuilder() + .UseContentRoot(Directory.GetCurrentDirectory()) .UseDefaultHostingConfiguration(args) .UseIISIntegration() .UseKestrel() diff --git a/samples/FormatFilterSample.Web/project.json b/samples/FormatFilterSample.Web/project.json index 91a81de494..f674e6d9f1 100644 --- a/samples/FormatFilterSample.Web/project.json +++ b/samples/FormatFilterSample.Web/project.json @@ -11,7 +11,7 @@ "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*" }, "frameworks": { - "net451": {}, + "net451": { }, "netcoreapp1.0": { "imports": [ "dnxcore50", diff --git a/samples/InlineConstraintSample.Web/Startup.cs b/samples/InlineConstraintSample.Web/Startup.cs index 2f4dc40f7b..708380246a 100644 --- a/samples/InlineConstraintSample.Web/Startup.cs +++ b/samples/InlineConstraintSample.Web/Startup.cs @@ -2,6 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; +using System.IO; using InlineConstraintSample.Web.Constraints; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; @@ -14,7 +15,7 @@ namespace InlineConstraintSample.Web { public void ConfigureServices(IServiceCollection services) { - services.AddRouting( routeOptions => + services.AddRouting(routeOptions => { routeOptions.ConstraintMap.Add("IsbnDigitScheme10", typeof(IsbnDigitScheme10Constraint)); routeOptions.ConstraintMap.Add("IsbnDigitScheme13", typeof(IsbnDigitScheme13Constraint)); @@ -39,6 +40,7 @@ namespace InlineConstraintSample.Web public static void Main(string[] args) { var host = new WebHostBuilder() + .UseContentRoot(Directory.GetCurrentDirectory()) .UseDefaultHostingConfiguration(args) .UseIISIntegration() .UseKestrel() diff --git a/samples/InlineConstraintSample.Web/project.json b/samples/InlineConstraintSample.Web/project.json index bf9bb72fcf..6176d0634a 100644 --- a/samples/InlineConstraintSample.Web/project.json +++ b/samples/InlineConstraintSample.Web/project.json @@ -10,7 +10,7 @@ "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*" }, "frameworks": { - "net451": {}, + "net451": { }, "netcoreapp1.0": { "imports": [ "dnxcore50", diff --git a/samples/JsonPatchSample.Web/Startup.cs b/samples/JsonPatchSample.Web/Startup.cs index 612c295933..04929e1a63 100644 --- a/samples/JsonPatchSample.Web/Startup.cs +++ b/samples/JsonPatchSample.Web/Startup.cs @@ -1,6 +1,7 @@ // 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.IO; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.DependencyInjection; @@ -25,6 +26,7 @@ namespace JsonPatchSample.Web public static void Main(string[] args) { var host = new WebHostBuilder() + .UseContentRoot(Directory.GetCurrentDirectory()) .UseDefaultHostingConfiguration(args) .UseIISIntegration() .UseKestrel() diff --git a/samples/JsonPatchSample.Web/project.json b/samples/JsonPatchSample.Web/project.json index 437e5db977..81505cbad2 100644 --- a/samples/JsonPatchSample.Web/project.json +++ b/samples/JsonPatchSample.Web/project.json @@ -10,7 +10,7 @@ "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*" }, "frameworks": { - "net451": {}, + "net451": { }, "netcoreapp1.0": { "imports": [ "dnxcore50", @@ -25,6 +25,7 @@ } }, "content": [ + "wwwroot", "web.config" ], "tools": { diff --git a/samples/LocalizationSample.Web/Startup.cs b/samples/LocalizationSample.Web/Startup.cs index c83e54dfdb..85a24ca8a7 100644 --- a/samples/LocalizationSample.Web/Startup.cs +++ b/samples/LocalizationSample.Web/Startup.cs @@ -3,6 +3,7 @@ using System.Collections.Generic; using System.Globalization; +using System.IO; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Localization; @@ -43,6 +44,7 @@ namespace LocalizationSample.Web public static void Main(string[] args) { var host = new WebHostBuilder() + .UseContentRoot(Directory.GetCurrentDirectory()) .UseDefaultHostingConfiguration(args) .UseIISIntegration() .UseKestrel() diff --git a/samples/LocalizationSample.Web/project.json b/samples/LocalizationSample.Web/project.json index bf9bb72fcf..6176d0634a 100644 --- a/samples/LocalizationSample.Web/project.json +++ b/samples/LocalizationSample.Web/project.json @@ -10,7 +10,7 @@ "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*" }, "frameworks": { - "net451": {}, + "net451": { }, "netcoreapp1.0": { "imports": [ "dnxcore50", diff --git a/samples/MvcSandbox/Startup.cs b/samples/MvcSandbox/Startup.cs index 5ebfaca1f8..2d83c34c4b 100644 --- a/samples/MvcSandbox/Startup.cs +++ b/samples/MvcSandbox/Startup.cs @@ -34,8 +34,8 @@ namespace MvcSandbox public static void Main(string[] args) { var host = new WebHostBuilder() - .UseDefaultHostingConfiguration(args) .UseContentRoot(Directory.GetCurrentDirectory()) + .UseDefaultHostingConfiguration(args) .UseIISIntegration() .UseKestrel() .UseStartup() diff --git a/samples/MvcSandbox/project.json b/samples/MvcSandbox/project.json index 2d3b040a5a..d7c2e449d2 100644 --- a/samples/MvcSandbox/project.json +++ b/samples/MvcSandbox/project.json @@ -17,10 +17,19 @@ }, "content": [ "Views", - "web.config" + "web.config", + "wwwroot" ], + "tools": { + "dotnet-razor-tooling": { + "version": "1.0.0-*", + "imports": [ + "net45" + ] + } + }, "frameworks": { - "net451": {}, + "net451": { }, "netcoreapp1.0": { "imports": [ "dnxcore50", diff --git a/samples/MvcSubAreaSample.Web/Startup.cs b/samples/MvcSubAreaSample.Web/Startup.cs index 4075d364e5..52c0f29c43 100644 --- a/samples/MvcSubAreaSample.Web/Startup.cs +++ b/samples/MvcSubAreaSample.Web/Startup.cs @@ -2,6 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; +using System.IO; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc.Razor; @@ -39,6 +40,7 @@ namespace MvcSubAreaSample.Web public static void Main(string[] args) { var host = new WebHostBuilder() + .UseContentRoot(Directory.GetCurrentDirectory()) .UseDefaultHostingConfiguration(args) .UseIISIntegration() .UseKestrel() diff --git a/samples/MvcSubAreaSample.Web/project.json b/samples/MvcSubAreaSample.Web/project.json index fd80ef3b68..7cc7bdef53 100644 --- a/samples/MvcSubAreaSample.Web/project.json +++ b/samples/MvcSubAreaSample.Web/project.json @@ -13,7 +13,7 @@ "Microsoft.AspNetCore.StaticFiles": "1.0.0-*" }, "frameworks": { - "net451": {}, + "net451": { }, "netcoreapp1.0": { "imports": [ "dnxcore50", @@ -29,12 +29,19 @@ }, "content": [ "Views", + "Areas", "web.config" ], "tools": { "Microsoft.AspNetCore.Server.IISIntegration.Tools": { "version": "1.0.0-*", "imports": "portable-net45+wp80+win8+wpa81+dnxcore50" + }, + "dotnet-razor-tooling": { + "version": "1.0.0-*", + "imports": [ + "net45" + ] } }, "scripts": { diff --git a/samples/TagHelperSample.Web/Startup.cs b/samples/TagHelperSample.Web/Startup.cs index 4d22db1e96..03c5cc3590 100644 --- a/samples/TagHelperSample.Web/Startup.cs +++ b/samples/TagHelperSample.Web/Startup.cs @@ -2,6 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; +using System.IO; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.DependencyInjection; @@ -37,6 +38,7 @@ namespace TagHelperSample.Web public static void Main(string[] args) { var host = new WebHostBuilder() + .UseContentRoot(Directory.GetCurrentDirectory()) .UseDefaultHostingConfiguration(args) .UseIISIntegration() .UseKestrel() diff --git a/samples/TagHelperSample.Web/project.json b/samples/TagHelperSample.Web/project.json index 2a81bd9517..41bb21650b 100644 --- a/samples/TagHelperSample.Web/project.json +++ b/samples/TagHelperSample.Web/project.json @@ -14,8 +14,16 @@ "Microsoft.AspNetCore.Mvc.TagHelpers": "1.0.0-*", "Microsoft.AspNetCore.StaticFiles": "1.0.0-*" }, + "tools": { + "dotnet-razor-tooling": { + "version": "1.0.0-*", + "imports": [ + "net45" + ] + } + }, "frameworks": { - "net451": {}, + "net451": { }, "netcoreapp1.0": { "imports": [ "dnxcore50", diff --git a/samples/UrlHelperSample.Web/Startup.cs b/samples/UrlHelperSample.Web/Startup.cs index c96c72a9b3..7f2303c254 100644 --- a/samples/UrlHelperSample.Web/Startup.cs +++ b/samples/UrlHelperSample.Web/Startup.cs @@ -1,6 +1,7 @@ // 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.IO; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc.Routing; @@ -38,6 +39,7 @@ namespace UrlHelperSample.Web public static void Main(string[] args) { var host = new WebHostBuilder() + .UseContentRoot(Directory.GetCurrentDirectory()) .UseDefaultHostingConfiguration(args) .UseStartup() .UseKestrel() diff --git a/samples/UrlHelperSample.Web/project.json b/samples/UrlHelperSample.Web/project.json index 52a63dc396..deb62ea621 100644 --- a/samples/UrlHelperSample.Web/project.json +++ b/samples/UrlHelperSample.Web/project.json @@ -10,7 +10,7 @@ "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*" }, "frameworks": { - "net451": {}, + "net451": { }, "netcoreapp1.0": { "imports": [ "dnxcore50", diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/project.json b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/project.json index 7059730839..4c7e306e30 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/project.json +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/project.json @@ -70,7 +70,7 @@ "portable-net451+win8" ] }, - "net451": {} + "net451": { } }, "exclude": [ "wwwroot", diff --git a/test/WebSites/ApiExplorerWebSite/Startup.cs b/test/WebSites/ApiExplorerWebSite/Startup.cs index f7bb8a83a3..21068410ea 100644 --- a/test/WebSites/ApiExplorerWebSite/Startup.cs +++ b/test/WebSites/ApiExplorerWebSite/Startup.cs @@ -1,6 +1,7 @@ // 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.IO; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc.Formatters; @@ -45,6 +46,7 @@ namespace ApiExplorerWebSite public static void Main(string[] args) { var host = new WebHostBuilder() + .UseContentRoot(Directory.GetCurrentDirectory()) .UseDefaultHostingConfiguration(args) .UseKestrel() .UseIISIntegration() diff --git a/test/WebSites/ApiExplorerWebSite/project.json b/test/WebSites/ApiExplorerWebSite/project.json index ae586d419f..d4d822ec16 100644 --- a/test/WebSites/ApiExplorerWebSite/project.json +++ b/test/WebSites/ApiExplorerWebSite/project.json @@ -13,7 +13,7 @@ "Microsoft.AspNetCore.StaticFiles": "1.0.0-*" }, "frameworks": { - "net451": {}, + "net451": { }, "netcoreapp1.0": { "imports": [ "dnxcore50", diff --git a/test/WebSites/ApplicationModelWebSite/Startup.cs b/test/WebSites/ApplicationModelWebSite/Startup.cs index 1dff0ad54c..080c12b267 100644 --- a/test/WebSites/ApplicationModelWebSite/Startup.cs +++ b/test/WebSites/ApplicationModelWebSite/Startup.cs @@ -1,6 +1,7 @@ // 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.IO; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.DependencyInjection; @@ -35,6 +36,7 @@ namespace ApplicationModelWebSite public static void Main(string[] args) { var host = new WebHostBuilder() + .UseContentRoot(Directory.GetCurrentDirectory()) .UseDefaultHostingConfiguration(args) .UseStartup() .UseKestrel() diff --git a/test/WebSites/ApplicationModelWebSite/project.json b/test/WebSites/ApplicationModelWebSite/project.json index 57f745ead8..fc50c3bcc7 100644 --- a/test/WebSites/ApplicationModelWebSite/project.json +++ b/test/WebSites/ApplicationModelWebSite/project.json @@ -12,7 +12,7 @@ "Microsoft.AspNetCore.StaticFiles": "1.0.0-*" }, "frameworks": { - "net451": {}, + "net451": { }, "netcoreapp1.0": { "imports": [ "dnxcore50", diff --git a/test/WebSites/BasicWebSite/Startup.cs b/test/WebSites/BasicWebSite/Startup.cs index fb835cfa2a..d526acc199 100644 --- a/test/WebSites/BasicWebSite/Startup.cs +++ b/test/WebSites/BasicWebSite/Startup.cs @@ -1,6 +1,7 @@ // 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.IO; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; @@ -56,6 +57,7 @@ namespace BasicWebSite public static void Main(string[] args) { var host = new WebHostBuilder() + .UseContentRoot(Directory.GetCurrentDirectory()) .UseDefaultHostingConfiguration(args) .UseStartup() .UseKestrel() diff --git a/test/WebSites/BasicWebSite/project.json b/test/WebSites/BasicWebSite/project.json index db68b5efa1..a0f6c3d26b 100644 --- a/test/WebSites/BasicWebSite/project.json +++ b/test/WebSites/BasicWebSite/project.json @@ -14,7 +14,7 @@ "Microsoft.AspNetCore.StaticFiles": "1.0.0-*" }, "frameworks": { - "net451": {}, + "net451": { }, "netcoreapp1.0": { "imports": [ "dnxcore50", @@ -29,6 +29,7 @@ } }, "content": [ + "Areas/Area1/Views", "Views", "web.config" ], @@ -36,6 +37,12 @@ "Microsoft.AspNetCore.Server.IISIntegration.Tools": { "version": "1.0.0-*", "imports": "portable-net45+wp80+win8+wpa81+dnxcore50" + }, + "dotnet-razor-tooling": { + "version": "1.0.0-*", + "imports": [ + "net45" + ] } }, "scripts": { diff --git a/test/WebSites/ControllersFromServicesClassLibrary/project.json b/test/WebSites/ControllersFromServicesClassLibrary/project.json index 224718137b..d7a938fa72 100644 --- a/test/WebSites/ControllersFromServicesClassLibrary/project.json +++ b/test/WebSites/ControllersFromServicesClassLibrary/project.json @@ -3,13 +3,13 @@ "Microsoft.AspNetCore.Mvc": "1.0.0-*" }, "frameworks": { - "net451": {}, + "net451": { }, "netcoreapp1.0": { "imports": [ "dnxcore50", "portable-net451+win8" ], - "dependencies": {} + "dependencies": { } } } } \ No newline at end of file diff --git a/test/WebSites/ControllersFromServicesWebSite/Startup.cs b/test/WebSites/ControllersFromServicesWebSite/Startup.cs index 0d89e41921..54b3162d79 100644 --- a/test/WebSites/ControllersFromServicesWebSite/Startup.cs +++ b/test/WebSites/ControllersFromServicesWebSite/Startup.cs @@ -3,6 +3,7 @@ using System; using System.Collections.Generic; +using System.IO; using System.Linq; using System.Reflection; using ControllersFromServicesClassLibrary; @@ -62,6 +63,7 @@ namespace ControllersFromServicesWebSite public static void Main(string[] args) { var host = new WebHostBuilder() + .UseContentRoot(Directory.GetCurrentDirectory()) .UseDefaultHostingConfiguration(args) .UseStartup() .UseKestrel() diff --git a/test/WebSites/ControllersFromServicesWebSite/project.json b/test/WebSites/ControllersFromServicesWebSite/project.json index 3fc2592bd0..508991cb0e 100644 --- a/test/WebSites/ControllersFromServicesWebSite/project.json +++ b/test/WebSites/ControllersFromServicesWebSite/project.json @@ -13,7 +13,7 @@ "Microsoft.AspNetCore.StaticFiles": "1.0.0-*" }, "frameworks": { - "net451": {}, + "net451": { }, "netcoreapp1.0": { "imports": [ "dnxcore50", @@ -35,6 +35,12 @@ "Microsoft.AspNetCore.Server.IISIntegration.Tools": { "version": "1.0.0-*", "imports": "portable-net45+wp80+win8+wpa81+dnxcore50" + }, + "dotnet-razor-tooling": { + "version": "1.0.0-*", + "imports": [ + "net45" + ] } }, "scripts": { diff --git a/test/WebSites/CorsWebSite/Startup.cs b/test/WebSites/CorsWebSite/Startup.cs index bdae6af456..d00f934ebe 100644 --- a/test/WebSites/CorsWebSite/Startup.cs +++ b/test/WebSites/CorsWebSite/Startup.cs @@ -1,6 +1,7 @@ // 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.IO; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Cors.Infrastructure; using Microsoft.AspNetCore.Hosting; @@ -81,6 +82,7 @@ namespace CorsWebSite public static void Main(string[] args) { var host = new WebHostBuilder() + .UseContentRoot(Directory.GetCurrentDirectory()) .UseDefaultHostingConfiguration(args) .UseStartup() .UseKestrel() diff --git a/test/WebSites/CorsWebSite/project.json b/test/WebSites/CorsWebSite/project.json index 69ca0504a0..6ce7a73adf 100644 --- a/test/WebSites/CorsWebSite/project.json +++ b/test/WebSites/CorsWebSite/project.json @@ -3,6 +3,9 @@ "emitEntryPoint": true, "preserveCompilationContext": true }, + "content": [ + "web.config" + ], "dependencies": { "Microsoft.NETCore.Platforms": "1.0.1-*", "Microsoft.AspNetCore.Server.IISIntegration": "1.0.0-*", @@ -14,7 +17,7 @@ "Microsoft.AspNetCore.StaticFiles": "1.0.0-*" }, "frameworks": { - "net451": {}, + "net451": { }, "netcoreapp1.0": { "imports": [ "dnxcore50", @@ -28,9 +31,6 @@ } } }, - "content": [ - "web.config" - ], "tools": { "Microsoft.AspNetCore.Server.IISIntegration.Tools": { "version": "1.0.0-*", diff --git a/test/WebSites/ErrorPageMiddlewareWebSite/Startup.cs b/test/WebSites/ErrorPageMiddlewareWebSite/Startup.cs index ecfbdc0541..7a096b1fdd 100644 --- a/test/WebSites/ErrorPageMiddlewareWebSite/Startup.cs +++ b/test/WebSites/ErrorPageMiddlewareWebSite/Startup.cs @@ -1,6 +1,7 @@ // 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.IO; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.DependencyInjection; @@ -26,6 +27,7 @@ namespace ErrorPageMiddlewareWebSite public static void Main(string[] args) { var host = new WebHostBuilder() + .UseContentRoot(Directory.GetCurrentDirectory()) .UseDefaultHostingConfiguration(args) .UseStartup() .UseKestrel() diff --git a/test/WebSites/ErrorPageMiddlewareWebSite/project.json b/test/WebSites/ErrorPageMiddlewareWebSite/project.json index 29af93e71f..48b6b73229 100644 --- a/test/WebSites/ErrorPageMiddlewareWebSite/project.json +++ b/test/WebSites/ErrorPageMiddlewareWebSite/project.json @@ -13,7 +13,7 @@ "Microsoft.AspNetCore.StaticFiles": "1.0.0-*" }, "frameworks": { - "net451": {}, + "net451": { }, "netcoreapp1.0": { "imports": [ "dnxcore50", diff --git a/test/WebSites/FilesWebSite/Startup.cs b/test/WebSites/FilesWebSite/Startup.cs index 812d4a43a9..155a930348 100644 --- a/test/WebSites/FilesWebSite/Startup.cs +++ b/test/WebSites/FilesWebSite/Startup.cs @@ -1,6 +1,7 @@ // 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.IO; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.DependencyInjection; @@ -28,6 +29,7 @@ namespace FilesWebSite public static void Main(string[] args) { var host = new WebHostBuilder() + .UseContentRoot(Directory.GetCurrentDirectory()) .UseDefaultHostingConfiguration(args) .UseStartup() .UseKestrel() diff --git a/test/WebSites/FilesWebSite/project.json b/test/WebSites/FilesWebSite/project.json index 58b8723a5e..ed8e7e6adc 100644 --- a/test/WebSites/FilesWebSite/project.json +++ b/test/WebSites/FilesWebSite/project.json @@ -14,7 +14,7 @@ "Microsoft.Extensions.FileProviders.Embedded": "1.0.0-*" }, "frameworks": { - "net451": {}, + "net451": { }, "netcoreapp1.0": { "imports": [ "dnxcore50", diff --git a/test/WebSites/FiltersWebSite/Startup.cs b/test/WebSites/FiltersWebSite/Startup.cs index 2a8a62155d..84b083e16e 100644 --- a/test/WebSites/FiltersWebSite/Startup.cs +++ b/test/WebSites/FiltersWebSite/Startup.cs @@ -1,6 +1,7 @@ // 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.IO; using System.Security.Claims; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Builder; @@ -69,6 +70,7 @@ namespace FiltersWebSite public static void Main(string[] args) { var host = new WebHostBuilder() + .UseContentRoot(Directory.GetCurrentDirectory()) .UseDefaultHostingConfiguration(args) .UseStartup() .UseKestrel() diff --git a/test/WebSites/FiltersWebSite/project.json b/test/WebSites/FiltersWebSite/project.json index 63e443f9be..d07c15110f 100644 --- a/test/WebSites/FiltersWebSite/project.json +++ b/test/WebSites/FiltersWebSite/project.json @@ -14,7 +14,7 @@ "Microsoft.AspNetCore.StaticFiles": "1.0.0-*" }, "frameworks": { - "net451": {}, + "net451": { }, "netcoreapp1.0": { "imports": [ "dnxcore50", diff --git a/test/WebSites/FormatterWebSite/Startup.cs b/test/WebSites/FormatterWebSite/Startup.cs index b044221299..42436a1095 100644 --- a/test/WebSites/FormatterWebSite/Startup.cs +++ b/test/WebSites/FormatterWebSite/Startup.cs @@ -1,6 +1,7 @@ // 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.IO; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; @@ -37,6 +38,7 @@ namespace FormatterWebSite public static void Main(string[] args) { var host = new WebHostBuilder() + .UseContentRoot(Directory.GetCurrentDirectory()) .UseDefaultHostingConfiguration(args) .UseStartup() .UseKestrel() diff --git a/test/WebSites/FormatterWebSite/project.json b/test/WebSites/FormatterWebSite/project.json index ae586d419f..d4d822ec16 100644 --- a/test/WebSites/FormatterWebSite/project.json +++ b/test/WebSites/FormatterWebSite/project.json @@ -13,7 +13,7 @@ "Microsoft.AspNetCore.StaticFiles": "1.0.0-*" }, "frameworks": { - "net451": {}, + "net451": { }, "netcoreapp1.0": { "imports": [ "dnxcore50", diff --git a/test/WebSites/HtmlGenerationWebSite/Startup.cs b/test/WebSites/HtmlGenerationWebSite/Startup.cs index 359e7908e1..bac4975c2f 100644 --- a/test/WebSites/HtmlGenerationWebSite/Startup.cs +++ b/test/WebSites/HtmlGenerationWebSite/Startup.cs @@ -1,6 +1,7 @@ // 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.IO; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc.TagHelpers; @@ -45,6 +46,7 @@ namespace HtmlGenerationWebSite public static void Main(string[] args) { var host = new WebHostBuilder() + .UseContentRoot(Directory.GetCurrentDirectory()) .UseDefaultHostingConfiguration(args) .UseStartup() .UseKestrel() diff --git a/test/WebSites/HtmlGenerationWebSite/project.json b/test/WebSites/HtmlGenerationWebSite/project.json index d322cac812..574380f22b 100644 --- a/test/WebSites/HtmlGenerationWebSite/project.json +++ b/test/WebSites/HtmlGenerationWebSite/project.json @@ -12,7 +12,7 @@ "Microsoft.AspNetCore.Mvc.TestConfiguration": "1.0.0" }, "frameworks": { - "net451": {}, + "net451": { }, "netcoreapp1.0": { "imports": [ "dnxcore50", @@ -35,6 +35,12 @@ "Microsoft.AspNetCore.Server.IISIntegration.Tools": { "version": "1.0.0-*", "imports": "portable-net45+wp80+win8+wpa81+dnxcore50" + }, + "dotnet-razor-tooling": { + "version": "1.0.0-*", + "imports": [ + "net45" + ] } }, "scripts": { diff --git a/test/WebSites/RazorPageExecutionInstrumentationWebSite/Startup.cs b/test/WebSites/RazorPageExecutionInstrumentationWebSite/Startup.cs index 81cfed8316..1d79227af4 100644 --- a/test/WebSites/RazorPageExecutionInstrumentationWebSite/Startup.cs +++ b/test/WebSites/RazorPageExecutionInstrumentationWebSite/Startup.cs @@ -47,6 +47,7 @@ namespace RazorPageExecutionInstrumentationWebSite public static void Main(string[] args) { var host = new WebHostBuilder() + .UseContentRoot(Directory.GetCurrentDirectory()) .UseDefaultHostingConfiguration(args) .UseStartup() .UseKestrel() diff --git a/test/WebSites/RazorPageExecutionInstrumentationWebSite/project.json b/test/WebSites/RazorPageExecutionInstrumentationWebSite/project.json index ef106b7d4b..c7e782ba06 100644 --- a/test/WebSites/RazorPageExecutionInstrumentationWebSite/project.json +++ b/test/WebSites/RazorPageExecutionInstrumentationWebSite/project.json @@ -13,7 +13,7 @@ "Microsoft.Extensions.DiagnosticAdapter": "1.0.0-*" }, "frameworks": { - "net451": {}, + "net451": { }, "netcoreapp1.0": { "imports": [ "dnxcore50", diff --git a/test/WebSites/RazorWebSite/Startup.cs b/test/WebSites/RazorWebSite/Startup.cs index 1f6505c39f..dc19c5537e 100644 --- a/test/WebSites/RazorWebSite/Startup.cs +++ b/test/WebSites/RazorWebSite/Startup.cs @@ -3,6 +3,7 @@ using System.Collections.Generic; using System.Globalization; +using System.IO; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Localization; @@ -64,6 +65,7 @@ namespace RazorWebSite public static void Main(string[] args) { var host = new WebHostBuilder() + .UseContentRoot(Directory.GetCurrentDirectory()) .UseDefaultHostingConfiguration(args) .UseStartup() .UseKestrel() diff --git a/test/WebSites/RazorWebSite/project.json b/test/WebSites/RazorWebSite/project.json index a4d5288dd5..a0ebcba50f 100644 --- a/test/WebSites/RazorWebSite/project.json +++ b/test/WebSites/RazorWebSite/project.json @@ -3,6 +3,11 @@ "emitEntryPoint": true, "preserveCompilationContext": true }, + "content": [ + "Views", + "Shared-Views", + "web.config" + ], "dependencies": { "Microsoft.NETCore.Platforms": "1.0.1-*", "Microsoft.AspNetCore.Localization": "1.0.0-*", @@ -39,10 +44,6 @@ } } }, - "content": [ - "Views", - "web.config" - ], "tools": { "Microsoft.AspNetCore.Server.IISIntegration.Tools": { "version": "1.0.0-*", diff --git a/test/WebSites/RoutingWebSite/Startup.cs b/test/WebSites/RoutingWebSite/Startup.cs index 31f9ea912d..e1db6d381d 100644 --- a/test/WebSites/RoutingWebSite/Startup.cs +++ b/test/WebSites/RoutingWebSite/Startup.cs @@ -1,6 +1,7 @@ // 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.IO; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc.Infrastructure; @@ -44,6 +45,7 @@ namespace RoutingWebSite public static void Main(string[] args) { var host = new WebHostBuilder() + .UseContentRoot(Directory.GetCurrentDirectory()) .UseDefaultHostingConfiguration(args) .UseStartup() .UseKestrel() diff --git a/test/WebSites/RoutingWebSite/project.json b/test/WebSites/RoutingWebSite/project.json index e704b2075b..d0cf483391 100644 --- a/test/WebSites/RoutingWebSite/project.json +++ b/test/WebSites/RoutingWebSite/project.json @@ -12,7 +12,7 @@ "Microsoft.AspNetCore.StaticFiles": "1.0.0-*" }, "frameworks": { - "net451": {}, + "net451": { }, "netcoreapp1.0": { "imports": [ "dnxcore50", diff --git a/test/WebSites/SimpleWebSite/Startup.cs b/test/WebSites/SimpleWebSite/Startup.cs index 796b1415f9..9c9e03b56b 100644 --- a/test/WebSites/SimpleWebSite/Startup.cs +++ b/test/WebSites/SimpleWebSite/Startup.cs @@ -1,6 +1,7 @@ // 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.IO; using System.Text.Encodings.Web; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; @@ -32,6 +33,7 @@ namespace SimpleWebSite public static void Main(string[] args) { var host = new WebHostBuilder() + .UseContentRoot(Directory.GetCurrentDirectory()) .UseDefaultHostingConfiguration(args) .UseStartup() .UseKestrel() diff --git a/test/WebSites/SimpleWebSite/project.json b/test/WebSites/SimpleWebSite/project.json index 116d888567..f651f82eb6 100644 --- a/test/WebSites/SimpleWebSite/project.json +++ b/test/WebSites/SimpleWebSite/project.json @@ -10,7 +10,7 @@ "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*" }, "frameworks": { - "net451": {}, + "net451": { }, "netcoreapp1.0": { "imports": [ "dnxcore50", diff --git a/test/WebSites/TagHelpersWebSite/Startup.cs b/test/WebSites/TagHelpersWebSite/Startup.cs index 703ab6a92f..7db3e3610d 100644 --- a/test/WebSites/TagHelpersWebSite/Startup.cs +++ b/test/WebSites/TagHelpersWebSite/Startup.cs @@ -1,6 +1,7 @@ // 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.IO; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.DependencyInjection; @@ -25,6 +26,7 @@ namespace TagHelpersWebSite public static void Main(string[] args) { var host = new WebHostBuilder() + .UseContentRoot(Directory.GetCurrentDirectory()) .UseDefaultHostingConfiguration(args) .UseStartup() .UseKestrel() diff --git a/test/WebSites/TagHelpersWebSite/project.json b/test/WebSites/TagHelpersWebSite/project.json index 2bcb9ce026..3e276c045b 100644 --- a/test/WebSites/TagHelpersWebSite/project.json +++ b/test/WebSites/TagHelpersWebSite/project.json @@ -15,7 +15,7 @@ "Microsoft.AspNetCore.StaticFiles": "1.0.0-*" }, "frameworks": { - "net451": {}, + "net451": { }, "netcoreapp1.0": { "imports": [ "dnxcore50", @@ -37,6 +37,12 @@ "Microsoft.AspNetCore.Server.IISIntegration.Tools": { "version": "1.0.0-*", "imports": "portable-net45+wp80+win8+wpa81+dnxcore50" + }, + "dotnet-razor-tooling": { + "version": "1.0.0-*", + "imports": [ + "net45" + ] } }, "scripts": { diff --git a/test/WebSites/VersioningWebSite/Startup.cs b/test/WebSites/VersioningWebSite/Startup.cs index 80834a697f..985051e613 100644 --- a/test/WebSites/VersioningWebSite/Startup.cs +++ b/test/WebSites/VersioningWebSite/Startup.cs @@ -1,6 +1,7 @@ // 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.IO; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc.Infrastructure; @@ -29,6 +30,7 @@ namespace VersioningWebSite public static void Main(string[] args) { var host = new WebHostBuilder() + .UseContentRoot(Directory.GetCurrentDirectory()) .UseDefaultHostingConfiguration(args) .UseStartup() .UseKestrel() diff --git a/test/WebSites/VersioningWebSite/project.json b/test/WebSites/VersioningWebSite/project.json index e704b2075b..d0cf483391 100644 --- a/test/WebSites/VersioningWebSite/project.json +++ b/test/WebSites/VersioningWebSite/project.json @@ -12,7 +12,7 @@ "Microsoft.AspNetCore.StaticFiles": "1.0.0-*" }, "frameworks": { - "net451": {}, + "net451": { }, "netcoreapp1.0": { "imports": [ "dnxcore50", diff --git a/test/WebSites/WebApiCompatShimWebSite/Startup.cs b/test/WebSites/WebApiCompatShimWebSite/Startup.cs index fc1879ef3f..c9396d7ce8 100644 --- a/test/WebSites/WebApiCompatShimWebSite/Startup.cs +++ b/test/WebSites/WebApiCompatShimWebSite/Startup.cs @@ -1,6 +1,7 @@ // 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.IO; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.DependencyInjection; @@ -36,6 +37,7 @@ namespace WebApiCompatShimWebSite public static void Main(string[] args) { var host = new WebHostBuilder() + .UseContentRoot(Directory.GetCurrentDirectory()) .UseDefaultHostingConfiguration(args) .UseStartup() .UseKestrel() diff --git a/test/WebSites/WebApiCompatShimWebSite/project.json b/test/WebSites/WebApiCompatShimWebSite/project.json index b25fb9df4f..74d3d764c6 100644 --- a/test/WebSites/WebApiCompatShimWebSite/project.json +++ b/test/WebSites/WebApiCompatShimWebSite/project.json @@ -13,7 +13,7 @@ "Microsoft.AspNetCore.StaticFiles": "1.0.0-*" }, "frameworks": { - "net451": {}, + "net451": { }, "netcoreapp1.0": { "imports": [ "dnxcore50", diff --git a/test/WebSites/XmlFormattersWebSite/Startup.cs b/test/WebSites/XmlFormattersWebSite/Startup.cs index d2edae833d..6dfc03afc9 100644 --- a/test/WebSites/XmlFormattersWebSite/Startup.cs +++ b/test/WebSites/XmlFormattersWebSite/Startup.cs @@ -1,6 +1,7 @@ // 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.IO; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc; @@ -80,6 +81,7 @@ namespace XmlFormattersWebSite public static void Main(string[] args) { var host = new WebHostBuilder() + .UseContentRoot(Directory.GetCurrentDirectory()) .UseDefaultHostingConfiguration(args) .UseStartup() .UseKestrel() diff --git a/test/WebSites/XmlFormattersWebSite/project.json b/test/WebSites/XmlFormattersWebSite/project.json index 5092e8df91..441aea55ac 100644 --- a/test/WebSites/XmlFormattersWebSite/project.json +++ b/test/WebSites/XmlFormattersWebSite/project.json @@ -13,7 +13,7 @@ "Microsoft.AspNetCore.StaticFiles": "1.0.0-*" }, "frameworks": { - "net451": {}, + "net451": { }, "netcoreapp1.0": { "imports": [ "dnxcore50",