From b8e77e91d1b4c148c638814f8f438a768fb17265 Mon Sep 17 00:00:00 2001 From: Ajay Bhargav Baaskaran Date: Wed, 24 Feb 2016 16:22:16 -0800 Subject: [PATCH] Updating samples to work with latest dotnet --- samples/ActionConstraintSample.Web/project.json | 2 +- samples/CustomRouteSample.Web/project.json | 8 +++++--- samples/EmbeddedViewSample.Web/project.json | 8 +++++--- samples/FormatFilterSample.Web/project.json | 8 +++++--- samples/InlineConstraintSample.Web/project.json | 8 +++++--- samples/JsonPatchSample.Web/project.json | 2 +- samples/LocalizationSample.Web/project.json | 8 +++++--- samples/MvcSandbox/project.json | 8 +++++--- samples/MvcSubAreaSample.Web/project.json | 8 +++++--- samples/TagHelperSample.Web/project.json | 8 +++++--- samples/UrlHelperSample.Web/project.json | 8 +++++--- 11 files changed, 47 insertions(+), 29 deletions(-) diff --git a/samples/ActionConstraintSample.Web/project.json b/samples/ActionConstraintSample.Web/project.json index 66477e3bc2..485147b61a 100644 --- a/samples/ActionConstraintSample.Web/project.json +++ b/samples/ActionConstraintSample.Web/project.json @@ -16,7 +16,7 @@ "dnxcore50": { "imports": "portable-net451+win8", "dependencies": { - "Microsoft.NETCore.Platforms": "1.0.1-*" + "NETStandard.Library": "1.0.0-*" } } } diff --git a/samples/CustomRouteSample.Web/project.json b/samples/CustomRouteSample.Web/project.json index 7019260e7e..e75e5f7b7c 100644 --- a/samples/CustomRouteSample.Web/project.json +++ b/samples/CustomRouteSample.Web/project.json @@ -9,13 +9,15 @@ "dependencies": { "Microsoft.AspNetCore.IISPlatformHandler": "1.0.0-*", "Microsoft.AspNetCore.Mvc": "1.0.0-*", - "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*", - "Microsoft.NETCore.Platforms": "1.0.1-*" + "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*" }, "frameworks": { "net451": {}, "dnxcore50": { - "imports": "portable-net451+win8" + "imports": "portable-net451+win8", + "dependencies": { + "NETStandard.Library": "1.0.0-*" + } } } } \ No newline at end of file diff --git a/samples/EmbeddedViewSample.Web/project.json b/samples/EmbeddedViewSample.Web/project.json index 9ac91575b8..19460365db 100644 --- a/samples/EmbeddedViewSample.Web/project.json +++ b/samples/EmbeddedViewSample.Web/project.json @@ -11,13 +11,15 @@ "Microsoft.AspNetCore.IISPlatformHandler": "1.0.0-*", "Microsoft.AspNetCore.Mvc": "1.0.0-*", "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*", - "Microsoft.Extensions.FileProviders.Embedded": "1.0.0-*", - "Microsoft.NETCore.Platforms": "1.0.1-*" + "Microsoft.Extensions.FileProviders.Embedded": "1.0.0-*" }, "frameworks": { "net451": {}, "dnxcore50": { - "imports": "portable-net451+win8" + "imports": "portable-net451+win8", + "dependencies": { + "NETStandard.Library": "1.0.0-*" + } } } } \ No newline at end of file diff --git a/samples/FormatFilterSample.Web/project.json b/samples/FormatFilterSample.Web/project.json index 4c820919bb..ed3366feb9 100644 --- a/samples/FormatFilterSample.Web/project.json +++ b/samples/FormatFilterSample.Web/project.json @@ -10,13 +10,15 @@ "Microsoft.AspNetCore.IISPlatformHandler": "1.0.0-*", "Microsoft.AspNetCore.Mvc": "1.0.0-*", "Microsoft.AspNetCore.Mvc.Formatters.Xml": "1.0.0-*", - "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*", - "Microsoft.NETCore.Platforms": "1.0.1-*" + "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*" }, "frameworks": { "net451": {}, "dnxcore50": { - "imports": "portable-net451+win8" + "imports": "portable-net451+win8", + "dependencies": { + "NETStandard.Library": "1.0.0-*" + } } } } \ No newline at end of file diff --git a/samples/InlineConstraintSample.Web/project.json b/samples/InlineConstraintSample.Web/project.json index a7494235ea..96895467c3 100644 --- a/samples/InlineConstraintSample.Web/project.json +++ b/samples/InlineConstraintSample.Web/project.json @@ -9,13 +9,15 @@ "dependencies": { "Microsoft.AspNetCore.IISPlatformHandler": "1.0.0-*", "Microsoft.AspNetCore.Mvc": "1.0.0-*", - "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*", - "Microsoft.NETCore.Platforms": "1.0.1-*" + "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*" }, "frameworks": { "net451": {}, "dnxcore50": { - "imports": "portable-net451+win8" + "imports": "portable-net451+win8", + "dependencies": { + "NETStandard.Library": "1.0.0-*" + } } } } \ No newline at end of file diff --git a/samples/JsonPatchSample.Web/project.json b/samples/JsonPatchSample.Web/project.json index 8ba11526b7..b26dc22289 100644 --- a/samples/JsonPatchSample.Web/project.json +++ b/samples/JsonPatchSample.Web/project.json @@ -16,7 +16,7 @@ "dnxcore50": { "imports": "portable-net451+win8", "dependencies": { - "Microsoft.NETCore.Platforms": "1.0.1-*" + "NETStandard.Library": "1.0.0-*" } } } diff --git a/samples/LocalizationSample.Web/project.json b/samples/LocalizationSample.Web/project.json index 7ed6342ec6..78caf71df1 100644 --- a/samples/LocalizationSample.Web/project.json +++ b/samples/LocalizationSample.Web/project.json @@ -9,13 +9,15 @@ "dependencies": { "Microsoft.AspNetCore.IISPlatformHandler": "1.0.0-*", "Microsoft.AspNetCore.Mvc": "1.0.0-*", - "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*", - "Microsoft.NETCore.Platforms": "1.0.1-*" + "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*" }, "frameworks": { "net451": {}, "dnxcore50": { - "imports": "portable-net451+win8" + "imports": "portable-net451+win8", + "dependencies": { + "NETStandard.Library": "1.0.0-*" + } } } } \ No newline at end of file diff --git a/samples/MvcSandbox/project.json b/samples/MvcSandbox/project.json index aa72e4256f..3d46c43a93 100644 --- a/samples/MvcSandbox/project.json +++ b/samples/MvcSandbox/project.json @@ -15,8 +15,7 @@ "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*", "Microsoft.AspNetCore.StaticFiles": "1.0.0-*", "Microsoft.Extensions.Configuration.Json": "1.0.0-*", - "Microsoft.Extensions.Logging.Console": "1.0.0-*", - "Microsoft.NETCore.Platforms": "1.0.1-*" + "Microsoft.Extensions.Logging.Console": "1.0.0-*" }, "tools": { "dotnet-razor-tooling": "1.0.0-*" @@ -24,7 +23,10 @@ "frameworks": { "net451": {}, "dnxcore50": { - "imports": "portable-net451+win8" + "imports": "portable-net451+win8", + "dependencies": { + "NETStandard.Library": "1.0.0-*" + } } }, "exclude": [ diff --git a/samples/MvcSubAreaSample.Web/project.json b/samples/MvcSubAreaSample.Web/project.json index 14908d3597..2f1e8f3738 100644 --- a/samples/MvcSubAreaSample.Web/project.json +++ b/samples/MvcSubAreaSample.Web/project.json @@ -12,13 +12,15 @@ "Microsoft.AspNetCore.Mvc": "1.0.0-*", "Microsoft.AspNetCore.Mvc.TagHelpers": "1.0.0-*", "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*", - "Microsoft.AspNetCore.StaticFiles": "1.0.0-*", - "Microsoft.NETCore.Platforms": "1.0.1-*" + "Microsoft.AspNetCore.StaticFiles": "1.0.0-*" }, "frameworks": { "net451": {}, "dnxcore50": { - "imports": "portable-net451+win8" + "imports": "portable-net451+win8", + "dependencies": { + "NETStandard.Library": "1.0.0-*" + } } } } \ No newline at end of file diff --git a/samples/TagHelperSample.Web/project.json b/samples/TagHelperSample.Web/project.json index 78b1f807a8..d473db7515 100644 --- a/samples/TagHelperSample.Web/project.json +++ b/samples/TagHelperSample.Web/project.json @@ -14,8 +14,7 @@ "Microsoft.AspNetCore.Diagnostics": "1.0.0-*", "Microsoft.AspNetCore.Mvc": "1.0.0-*", "Microsoft.AspNetCore.Mvc.TagHelpers": "1.0.0-*", - "Microsoft.AspNetCore.StaticFiles": "1.0.0-*", - "Microsoft.NETCore.Platforms": "1.0.1-*" + "Microsoft.AspNetCore.StaticFiles": "1.0.0-*" }, "tools": { "dotnet-razor-tooling": "1.0.0-*" @@ -23,7 +22,10 @@ "frameworks": { "net451": {}, "dnxcore50": { - "imports": "portable-net451+win8" + "imports": "portable-net451+win8", + "dependencies": { + "NETStandard.Library": "1.0.0-*" + } } }, "exclude": [ diff --git a/samples/UrlHelperSample.Web/project.json b/samples/UrlHelperSample.Web/project.json index aa433d8004..d4a0f9fa88 100644 --- a/samples/UrlHelperSample.Web/project.json +++ b/samples/UrlHelperSample.Web/project.json @@ -8,13 +8,15 @@ }, "dependencies": { "Microsoft.AspNetCore.Mvc": "1.0.0-*", - "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*", - "Microsoft.NETCore.Platforms": "1.0.1-*" + "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*" }, "frameworks": { "net451": {}, "dnxcore50": { - "imports": "portable-net451+win8" + "imports": "portable-net451+win8", + "dependencies": { + "NETStandard.Library": "1.0.0-*" + } } } } \ No newline at end of file