From ccff37126feb2d44b755ee3c5811afc748e0058d Mon Sep 17 00:00:00 2001 From: Pranav K Date: Wed, 6 Jul 2016 08:59:58 -0700 Subject: [PATCH] Removing extra imports from projects --- .../project.json | 5 +---- .../project.json | 5 +---- test/WebSites/ApiExplorerWebSite/project.json | 9 +-------- .../ApplicationModelWebSite/project.json | 9 +-------- test/WebSites/BasicWebSite/project.json | 16 ++-------------- .../project.json | 8 +------- .../ControllersFromServicesWebSite/project.json | 16 ++-------------- test/WebSites/CorsWebSite/project.json | 9 +-------- .../ErrorPageMiddlewareWebSite/project.json | 9 +-------- test/WebSites/FilesWebSite/project.json | 9 +-------- test/WebSites/FiltersWebSite/project.json | 9 +-------- test/WebSites/FormatterWebSite/project.json | 9 +-------- test/WebSites/HtmlGenerationWebSite/project.json | 16 ++-------------- .../project.json | 6 +----- .../project.json | 9 +-------- test/WebSites/RazorWebSite/project.json | 9 +-------- test/WebSites/RoutingWebSite/project.json | 9 +-------- test/WebSites/SimpleWebSite/project.json | 9 +-------- test/WebSites/TagHelpersWebSite/project.json | 16 ++-------------- test/WebSites/UserClassLibrary/project.json | 5 +---- test/WebSites/VersioningWebSite/project.json | 9 +-------- .../WebApiCompatShimWebSite/project.json | 10 ++-------- test/WebSites/XmlFormattersWebSite/project.json | 9 +-------- 23 files changed, 28 insertions(+), 192 deletions(-) diff --git a/test/Microsoft.AspNetCore.Mvc.TestCommon/project.json b/test/Microsoft.AspNetCore.Mvc.TestCommon/project.json index f4fa4ce9ee..d68c27b2ed 100644 --- a/test/Microsoft.AspNetCore.Mvc.TestCommon/project.json +++ b/test/Microsoft.AspNetCore.Mvc.TestCommon/project.json @@ -6,10 +6,7 @@ "netstandard1.3": { "dependencies": { "System.Runtime": "4.1.0-*" - }, - "imports": [ - "dotnet5.4" - ] + } } } } \ No newline at end of file diff --git a/test/Microsoft.AspNetCore.Mvc.TestDiagnosticListener.Sources/project.json b/test/Microsoft.AspNetCore.Mvc.TestDiagnosticListener.Sources/project.json index f4fa4ce9ee..d68c27b2ed 100644 --- a/test/Microsoft.AspNetCore.Mvc.TestDiagnosticListener.Sources/project.json +++ b/test/Microsoft.AspNetCore.Mvc.TestDiagnosticListener.Sources/project.json @@ -6,10 +6,7 @@ "netstandard1.3": { "dependencies": { "System.Runtime": "4.1.0-*" - }, - "imports": [ - "dotnet5.4" - ] + } } } } \ No newline at end of file diff --git a/test/WebSites/ApiExplorerWebSite/project.json b/test/WebSites/ApiExplorerWebSite/project.json index d6c0e45c23..8a65b590db 100644 --- a/test/WebSites/ApiExplorerWebSite/project.json +++ b/test/WebSites/ApiExplorerWebSite/project.json @@ -14,10 +14,6 @@ "frameworks": { "net451": {}, "netcoreapp1.0": { - "imports": [ - "dnxcore50", - "portable-net451+win8" - ], "dependencies": { "Microsoft.NETCore.App": { "version": "1.0.0-*", @@ -32,10 +28,7 @@ ] }, "tools": { - "Microsoft.AspNetCore.Server.IISIntegration.Tools": { - "version": "1.0.0-*", - "imports": "portable-net45+wp80+win8+wpa81+dnxcore50" - } + "Microsoft.AspNetCore.Server.IISIntegration.Tools": "1.0.0-*" }, "scripts": { "postpublish": "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" diff --git a/test/WebSites/ApplicationModelWebSite/project.json b/test/WebSites/ApplicationModelWebSite/project.json index c40bf45aa0..82123732ac 100644 --- a/test/WebSites/ApplicationModelWebSite/project.json +++ b/test/WebSites/ApplicationModelWebSite/project.json @@ -13,10 +13,6 @@ "frameworks": { "net451": {}, "netcoreapp1.0": { - "imports": [ - "dnxcore50", - "portable-net451+win8" - ], "dependencies": { "Microsoft.NETCore.App": { "version": "1.0.0-*", @@ -31,10 +27,7 @@ ] }, "tools": { - "Microsoft.AspNetCore.Server.IISIntegration.Tools": { - "version": "1.0.0-*", - "imports": "portable-net45+wp80+win8+wpa81+dnxcore50" - } + "Microsoft.AspNetCore.Server.IISIntegration.Tools": "1.0.0-*" }, "scripts": { "postpublish": "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" diff --git a/test/WebSites/BasicWebSite/project.json b/test/WebSites/BasicWebSite/project.json index 27b316d8b9..dae648b358 100644 --- a/test/WebSites/BasicWebSite/project.json +++ b/test/WebSites/BasicWebSite/project.json @@ -19,10 +19,6 @@ "frameworks": { "net451": {}, "netcoreapp1.0": { - "imports": [ - "dnxcore50", - "portable-net451+win8" - ], "dependencies": { "Microsoft.NETCore.App": { "version": "1.0.0-*", @@ -40,16 +36,8 @@ ] }, "tools": { - "Microsoft.AspNetCore.Server.IISIntegration.Tools": { - "version": "1.0.0-*", - "imports": "portable-net45+wp80+win8+wpa81+dnxcore50" - }, - "Microsoft.AspNetCore.Razor.Tools": { - "version": "1.0.0-*", - "imports": [ - "portable-net45+wp80+win8+wpa81+dnxcore50" - ] - } + "Microsoft.AspNetCore.Server.IISIntegration.Tools": "1.0.0-*", + "Microsoft.AspNetCore.Razor.Tools": "1.0.0-*" }, "scripts": { "postpublish": "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" diff --git a/test/WebSites/ControllersFromServicesClassLibrary/project.json b/test/WebSites/ControllersFromServicesClassLibrary/project.json index 56f1ab9855..aed9401f2c 100644 --- a/test/WebSites/ControllersFromServicesClassLibrary/project.json +++ b/test/WebSites/ControllersFromServicesClassLibrary/project.json @@ -7,12 +7,6 @@ }, "frameworks": { "net451": {}, - "netcoreapp1.0": { - "imports": [ - "dnxcore50", - "portable-net451+win8" - ], - "dependencies": {} - } + "netcoreapp1.0": {} } } \ No newline at end of file diff --git a/test/WebSites/ControllersFromServicesWebSite/project.json b/test/WebSites/ControllersFromServicesWebSite/project.json index 070506efdb..37c631a952 100644 --- a/test/WebSites/ControllersFromServicesWebSite/project.json +++ b/test/WebSites/ControllersFromServicesWebSite/project.json @@ -17,10 +17,6 @@ "frameworks": { "net451": {}, "netcoreapp1.0": { - "imports": [ - "dnxcore50", - "portable-net451+win8" - ], "dependencies": { "Microsoft.NETCore.App": { "version": "1.0.0-*", @@ -36,16 +32,8 @@ ] }, "tools": { - "Microsoft.AspNetCore.Server.IISIntegration.Tools": { - "version": "1.0.0-*", - "imports": "portable-net45+wp80+win8+wpa81+dnxcore50" - }, - "Microsoft.AspNetCore.Razor.Tools": { - "version": "1.0.0-*", - "imports": [ - "portable-net45+wp80+win8+wpa81+dnxcore50" - ] - } + "Microsoft.AspNetCore.Server.IISIntegration.Tools": "1.0.0-*", + "Microsoft.AspNetCore.Razor.Tools": "1.0.0-*" }, "scripts": { "postpublish": "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" diff --git a/test/WebSites/CorsWebSite/project.json b/test/WebSites/CorsWebSite/project.json index 9cafe359a7..a6f192c0a6 100644 --- a/test/WebSites/CorsWebSite/project.json +++ b/test/WebSites/CorsWebSite/project.json @@ -20,10 +20,6 @@ "frameworks": { "net451": {}, "netcoreapp1.0": { - "imports": [ - "dnxcore50", - "portable-net451+win8" - ], "dependencies": { "Microsoft.NETCore.App": { "version": "1.0.0-*", @@ -33,10 +29,7 @@ } }, "tools": { - "Microsoft.AspNetCore.Server.IISIntegration.Tools": { - "version": "1.0.0-*", - "imports": "portable-net45+wp80+win8+wpa81+dnxcore50" - } + "Microsoft.AspNetCore.Server.IISIntegration.Tools": "1.0.0-*" }, "scripts": { "postpublish": "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" diff --git a/test/WebSites/ErrorPageMiddlewareWebSite/project.json b/test/WebSites/ErrorPageMiddlewareWebSite/project.json index c5b8769648..33ee8d3308 100644 --- a/test/WebSites/ErrorPageMiddlewareWebSite/project.json +++ b/test/WebSites/ErrorPageMiddlewareWebSite/project.json @@ -14,10 +14,6 @@ "frameworks": { "net451": {}, "netcoreapp1.0": { - "imports": [ - "dnxcore50", - "portable-net451+win8" - ], "dependencies": { "Microsoft.NETCore.App": { "version": "1.0.0-*", @@ -33,10 +29,7 @@ ] }, "tools": { - "Microsoft.AspNetCore.Server.IISIntegration.Tools": { - "version": "1.0.0-*", - "imports": "portable-net45+wp80+win8+wpa81+dnxcore50" - } + "Microsoft.AspNetCore.Server.IISIntegration.Tools": "1.0.0-*" }, "scripts": { "postpublish": "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" diff --git a/test/WebSites/FilesWebSite/project.json b/test/WebSites/FilesWebSite/project.json index 6e073391ff..ade04ce5a9 100644 --- a/test/WebSites/FilesWebSite/project.json +++ b/test/WebSites/FilesWebSite/project.json @@ -17,10 +17,6 @@ "frameworks": { "net451": {}, "netcoreapp1.0": { - "imports": [ - "dnxcore50", - "portable-net451+win8" - ], "dependencies": { "Microsoft.NETCore.App": { "version": "1.0.0-*", @@ -36,10 +32,7 @@ ] }, "tools": { - "Microsoft.AspNetCore.Server.IISIntegration.Tools": { - "version": "1.0.0-*", - "imports": "portable-net45+wp80+win8+wpa81+dnxcore50" - } + "Microsoft.AspNetCore.Server.IISIntegration.Tools": "1.0.0-*" }, "scripts": { "postpublish": "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" diff --git a/test/WebSites/FiltersWebSite/project.json b/test/WebSites/FiltersWebSite/project.json index 1dfe1f51cd..bfdea36c89 100644 --- a/test/WebSites/FiltersWebSite/project.json +++ b/test/WebSites/FiltersWebSite/project.json @@ -15,10 +15,6 @@ "frameworks": { "net451": {}, "netcoreapp1.0": { - "imports": [ - "dnxcore50", - "portable-net451+win8" - ], "dependencies": { "Microsoft.NETCore.App": { "version": "1.0.0-*", @@ -33,10 +29,7 @@ ] }, "tools": { - "Microsoft.AspNetCore.Server.IISIntegration.Tools": { - "version": "1.0.0-*", - "imports": "portable-net45+wp80+win8+wpa81+dnxcore50" - } + "Microsoft.AspNetCore.Server.IISIntegration.Tools": "1.0.0-*" }, "scripts": { "postpublish": "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" diff --git a/test/WebSites/FormatterWebSite/project.json b/test/WebSites/FormatterWebSite/project.json index d6c0e45c23..8a65b590db 100644 --- a/test/WebSites/FormatterWebSite/project.json +++ b/test/WebSites/FormatterWebSite/project.json @@ -14,10 +14,6 @@ "frameworks": { "net451": {}, "netcoreapp1.0": { - "imports": [ - "dnxcore50", - "portable-net451+win8" - ], "dependencies": { "Microsoft.NETCore.App": { "version": "1.0.0-*", @@ -32,10 +28,7 @@ ] }, "tools": { - "Microsoft.AspNetCore.Server.IISIntegration.Tools": { - "version": "1.0.0-*", - "imports": "portable-net45+wp80+win8+wpa81+dnxcore50" - } + "Microsoft.AspNetCore.Server.IISIntegration.Tools": "1.0.0-*" }, "scripts": { "postpublish": "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" diff --git a/test/WebSites/HtmlGenerationWebSite/project.json b/test/WebSites/HtmlGenerationWebSite/project.json index 0306a829ce..4aa7880ed6 100644 --- a/test/WebSites/HtmlGenerationWebSite/project.json +++ b/test/WebSites/HtmlGenerationWebSite/project.json @@ -17,10 +17,6 @@ "frameworks": { "net451": {}, "netcoreapp1.0": { - "imports": [ - "dnxcore50", - "portable-net451+win8" - ], "dependencies": { "Microsoft.NETCore.App": { "version": "1.0.0-*", @@ -37,16 +33,8 @@ ] }, "tools": { - "Microsoft.AspNetCore.Server.IISIntegration.Tools": { - "version": "1.0.0-*", - "imports": "portable-net45+wp80+win8+wpa81+dnxcore50" - }, - "Microsoft.AspNetCore.Razor.Tools": { - "version": "1.0.0-*", - "imports": [ - "portable-net45+wp80+win8+wpa81+dnxcore50" - ] - } + "Microsoft.AspNetCore.Server.IISIntegration.Tools": "1.0.0-*", + "Microsoft.AspNetCore.Razor.Tools": "1.0.0-*" }, "scripts": { "postpublish": "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" diff --git a/test/WebSites/Microsoft.AspNetCore.Mvc.TestConfiguration/project.json b/test/WebSites/Microsoft.AspNetCore.Mvc.TestConfiguration/project.json index 105429cff4..8cef6baa62 100644 --- a/test/WebSites/Microsoft.AspNetCore.Mvc.TestConfiguration/project.json +++ b/test/WebSites/Microsoft.AspNetCore.Mvc.TestConfiguration/project.json @@ -9,12 +9,8 @@ "frameworks": { "net451": {}, "netstandard1.3": { - "imports": [ - "dotnet4.5", - "portable-net451+win8" - ], "dependencies": { - "NETStandard.Library": "1.5.0-*" + "NETStandard.Library": "1.6.0-*" } } } diff --git a/test/WebSites/RazorPageExecutionInstrumentationWebSite/project.json b/test/WebSites/RazorPageExecutionInstrumentationWebSite/project.json index 945c011325..d4cb473139 100644 --- a/test/WebSites/RazorPageExecutionInstrumentationWebSite/project.json +++ b/test/WebSites/RazorPageExecutionInstrumentationWebSite/project.json @@ -14,10 +14,6 @@ "frameworks": { "net451": {}, "netcoreapp1.0": { - "imports": [ - "dnxcore50", - "portable-net451+win8" - ], "dependencies": { "Microsoft.NETCore.App": { "version": "1.0.0-*", @@ -33,10 +29,7 @@ ] }, "tools": { - "Microsoft.AspNetCore.Server.IISIntegration.Tools": { - "version": "1.0.0-*", - "imports": "portable-net45+wp80+win8+wpa81+dnxcore50" - } + "Microsoft.AspNetCore.Server.IISIntegration.Tools": "1.0.0-*" }, "scripts": { "postpublish": "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" diff --git a/test/WebSites/RazorWebSite/project.json b/test/WebSites/RazorWebSite/project.json index cf6807c5e4..dc6e9516ef 100644 --- a/test/WebSites/RazorWebSite/project.json +++ b/test/WebSites/RazorWebSite/project.json @@ -33,10 +33,6 @@ "NETCOREAPP1_0_CUSTOM_DEFINE" ] }, - "imports": [ - "dnxcore50", - "portable-net451+win8" - ], "dependencies": { "Microsoft.NETCore.App": { "version": "1.0.0-*", @@ -46,10 +42,7 @@ } }, "tools": { - "Microsoft.AspNetCore.Server.IISIntegration.Tools": { - "version": "1.0.0-*", - "imports": "portable-net45+wp80+win8+wpa81+dnxcore50" - } + "Microsoft.AspNetCore.Server.IISIntegration.Tools": "1.0.0-*" }, "scripts": { "postpublish": "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" diff --git a/test/WebSites/RoutingWebSite/project.json b/test/WebSites/RoutingWebSite/project.json index 7b7f3ec3c4..833fd04d9f 100644 --- a/test/WebSites/RoutingWebSite/project.json +++ b/test/WebSites/RoutingWebSite/project.json @@ -13,10 +13,6 @@ "frameworks": { "net451": {}, "netcoreapp1.0": { - "imports": [ - "dnxcore50", - "portable-net451+win8" - ], "dependencies": { "Microsoft.NETCore.App": { "version": "1.0.0-*", @@ -31,10 +27,7 @@ ] }, "tools": { - "Microsoft.AspNetCore.Server.IISIntegration.Tools": { - "version": "1.0.0-*", - "imports": "portable-net45+wp80+win8+wpa81+dnxcore50" - } + "Microsoft.AspNetCore.Server.IISIntegration.Tools": "1.0.0-*" }, "scripts": { "postpublish": "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" diff --git a/test/WebSites/SimpleWebSite/project.json b/test/WebSites/SimpleWebSite/project.json index 9450cb7437..8026c5ec15 100644 --- a/test/WebSites/SimpleWebSite/project.json +++ b/test/WebSites/SimpleWebSite/project.json @@ -11,10 +11,6 @@ "frameworks": { "net451": {}, "netcoreapp1.0": { - "imports": [ - "dnxcore50", - "portable-net451+win8" - ], "dependencies": { "Microsoft.NETCore.App": { "version": "1.0.0-*", @@ -29,10 +25,7 @@ ] }, "tools": { - "Microsoft.AspNetCore.Server.IISIntegration.Tools": { - "version": "1.0.0-*", - "imports": "portable-net45+wp80+win8+wpa81+dnxcore50" - } + "Microsoft.AspNetCore.Server.IISIntegration.Tools": "1.0.0-*" }, "scripts": { "postpublish": "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" diff --git a/test/WebSites/TagHelpersWebSite/project.json b/test/WebSites/TagHelpersWebSite/project.json index f3f34d7acf..8211cd4d13 100644 --- a/test/WebSites/TagHelpersWebSite/project.json +++ b/test/WebSites/TagHelpersWebSite/project.json @@ -19,10 +19,6 @@ "frameworks": { "net451": {}, "netcoreapp1.0": { - "imports": [ - "dnxcore50", - "portable-net451+win8" - ], "dependencies": { "Microsoft.NETCore.App": { "version": "1.0.0-*", @@ -38,16 +34,8 @@ ] }, "tools": { - "Microsoft.AspNetCore.Server.IISIntegration.Tools": { - "version": "1.0.0-*", - "imports": "portable-net45+wp80+win8+wpa81+dnxcore50" - }, - "Microsoft.AspNetCore.Razor.Tools": { - "version": "1.0.0-*", - "imports": [ - "portable-net45+wp80+win8+wpa81+dnxcore50" - ] - } + "Microsoft.AspNetCore.Server.IISIntegration.Tools": "1.0.0-*", + "Microsoft.AspNetCore.Razor.Tools": "1.0.0-*" }, "scripts": { "postpublish": "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" diff --git a/test/WebSites/UserClassLibrary/project.json b/test/WebSites/UserClassLibrary/project.json index e96bb1face..3201c54257 100644 --- a/test/WebSites/UserClassLibrary/project.json +++ b/test/WebSites/UserClassLibrary/project.json @@ -4,10 +4,7 @@ "netstandard1.3": { "dependencies": { "System.Runtime": "4.1.0-*" - }, - "imports": [ - "dotnet54" - ] + } } } } \ No newline at end of file diff --git a/test/WebSites/VersioningWebSite/project.json b/test/WebSites/VersioningWebSite/project.json index 7b7f3ec3c4..833fd04d9f 100644 --- a/test/WebSites/VersioningWebSite/project.json +++ b/test/WebSites/VersioningWebSite/project.json @@ -13,10 +13,6 @@ "frameworks": { "net451": {}, "netcoreapp1.0": { - "imports": [ - "dnxcore50", - "portable-net451+win8" - ], "dependencies": { "Microsoft.NETCore.App": { "version": "1.0.0-*", @@ -31,10 +27,7 @@ ] }, "tools": { - "Microsoft.AspNetCore.Server.IISIntegration.Tools": { - "version": "1.0.0-*", - "imports": "portable-net45+wp80+win8+wpa81+dnxcore50" - } + "Microsoft.AspNetCore.Server.IISIntegration.Tools": "1.0.0-*" }, "scripts": { "postpublish": "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" diff --git a/test/WebSites/WebApiCompatShimWebSite/project.json b/test/WebSites/WebApiCompatShimWebSite/project.json index 71ee21f2bc..36021982da 100644 --- a/test/WebSites/WebApiCompatShimWebSite/project.json +++ b/test/WebSites/WebApiCompatShimWebSite/project.json @@ -14,10 +14,7 @@ "frameworks": { "net451": {}, "netcoreapp1.0": { - "imports": [ - "dnxcore50", - "portable-net451+win8" - ], + "imports": "portable-net451+win8", "dependencies": { "Microsoft.NETCore.App": { "version": "1.0.0-*", @@ -34,10 +31,7 @@ ] }, "tools": { - "Microsoft.AspNetCore.Server.IISIntegration.Tools": { - "version": "1.0.0-*", - "imports": "portable-net45+wp80+win8+wpa81+dnxcore50" - } + "Microsoft.AspNetCore.Server.IISIntegration.Tools": "1.0.0-*" }, "scripts": { "postpublish": "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" diff --git a/test/WebSites/XmlFormattersWebSite/project.json b/test/WebSites/XmlFormattersWebSite/project.json index 9ac02f3ee2..218875b1f2 100644 --- a/test/WebSites/XmlFormattersWebSite/project.json +++ b/test/WebSites/XmlFormattersWebSite/project.json @@ -14,10 +14,6 @@ "frameworks": { "net451": {}, "netcoreapp1.0": { - "imports": [ - "dnxcore50", - "portable-net451+win8" - ], "dependencies": { "Microsoft.NETCore.App": { "version": "1.0.0-*", @@ -33,10 +29,7 @@ ] }, "tools": { - "Microsoft.AspNetCore.Server.IISIntegration.Tools": { - "version": "1.0.0-*", - "imports": "portable-net45+wp80+win8+wpa81+dnxcore50" - } + "Microsoft.AspNetCore.Server.IISIntegration.Tools": "1.0.0-*" }, "scripts": { "postpublish": "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%"