From c9951b6c81541110040dc525d549da9fab8ca7eb Mon Sep 17 00:00:00 2001 From: Pranav K Date: Wed, 18 Nov 2015 12:01:50 -0800 Subject: [PATCH] Updating json files to pin versions and build.cmd to pin KoreBuild and DNX --- global.json | 9 +++-- samples/StaticFileSample/project.json | 32 ++++++++--------- src/Microsoft.AspNet.StaticFiles/project.json | 12 +++---- .../project.json | 36 +++++++++---------- 4 files changed, 47 insertions(+), 42 deletions(-) diff --git a/global.json b/global.json index 983ba04..4d1ccc9 100644 --- a/global.json +++ b/global.json @@ -1,3 +1,8 @@ { - "projects": ["src"] -} + "projects": [ + "src" + ], + "sdk": { + "version": "1.0.0-rc1-final" + } +} \ No newline at end of file diff --git a/samples/StaticFileSample/project.json b/samples/StaticFileSample/project.json index 22e540b..114874f 100644 --- a/samples/StaticFileSample/project.json +++ b/samples/StaticFileSample/project.json @@ -1,17 +1,17 @@ { - "commands": { - "web": "Microsoft.AspNet.Hosting --server Microsoft.AspNet.Server.WebListener --server.Urls http://localhost:12345/" - }, - "dependencies": { - "Microsoft.AspNet.Server.Kestrel": "1.0.0-*", - "Microsoft.AspNet.Server.IIS": "1.0.0-*", - "Microsoft.AspNet.Server.WebListener": "1.0.0-*", - "Microsoft.AspNet.StaticFiles": "1.0.0-*", - "Microsoft.Extensions.Logging.Console": "1.0.0-*" - }, - "frameworks": { - "dnx451": {}, - "dnxcore50": {} - }, - "webroot": "wwwroot" -} + "commands": { + "web": "Microsoft.AspNet.Hosting --server Microsoft.AspNet.Server.WebListener --server.Urls http://localhost:12345/" + }, + "dependencies": { + "Microsoft.AspNet.Server.Kestrel": "1.0.0-rc1-final", + "Microsoft.AspNet.Server.IIS": "1.0.0-*", + "Microsoft.AspNet.Server.WebListener": "1.0.0-rc1-final", + "Microsoft.AspNet.StaticFiles": "1.0.0-rc1-final", + "Microsoft.Extensions.Logging.Console": "1.0.0-rc1-final" + }, + "frameworks": { + "dnx451": {}, + "dnxcore50": {} + }, + "webroot": "wwwroot" +} \ No newline at end of file diff --git a/src/Microsoft.AspNet.StaticFiles/project.json b/src/Microsoft.AspNet.StaticFiles/project.json index 8761153..6c5b306 100644 --- a/src/Microsoft.AspNet.StaticFiles/project.json +++ b/src/Microsoft.AspNet.StaticFiles/project.json @@ -1,5 +1,5 @@ { - "version": "1.0.0-*", + "version": "1.0.0-rc1-final", "compilationOptions": { "warningsAsErrors": true, "keyFile": "../../tools/Key.snk" @@ -10,11 +10,11 @@ "url": "git://github.com/aspnet/staticfiles" }, "dependencies": { - "Microsoft.AspNet.Http.Extensions": "1.0.0-*", - "Microsoft.AspNet.FileProviders.Abstractions": "1.0.0-*", - "Microsoft.AspNet.Hosting.Abstractions": "1.0.0-*", - "Microsoft.Extensions.Logging.Abstractions": "1.0.0-*", - "Microsoft.Extensions.WebEncoders": "1.0.0-*" + "Microsoft.AspNet.Http.Extensions": "1.0.0-rc1-final", + "Microsoft.AspNet.FileProviders.Abstractions": "1.0.0-rc1-final", + "Microsoft.AspNet.Hosting.Abstractions": "1.0.0-rc1-final", + "Microsoft.Extensions.Logging.Abstractions": "1.0.0-rc1-final", + "Microsoft.Extensions.WebEncoders": "1.0.0-rc1-final" }, "frameworks": { "net451": {}, diff --git a/test/Microsoft.AspNet.StaticFiles.Tests/project.json b/test/Microsoft.AspNet.StaticFiles.Tests/project.json index e4023b9..1f26794 100644 --- a/test/Microsoft.AspNet.StaticFiles.Tests/project.json +++ b/test/Microsoft.AspNet.StaticFiles.Tests/project.json @@ -1,19 +1,19 @@ { - "compilationOptions": { - "warningsAsErrors": true, - "keyFile": "../../tools/Key.snk" - }, - "dependencies": { - "Microsoft.AspNet.StaticFiles": "1.0.0-*", - "Microsoft.AspNet.TestHost": "1.0.0-*", - "Microsoft.Extensions.Logging.Testing": "1.0.0-*", - "xunit.runner.aspnet": "2.0.0-aspnet-*" - }, - "commands": { - "test": "xunit.runner.aspnet" - }, - "frameworks": { - "dnx451": { }, - "dnxcore50": { } - } -} + "compilationOptions": { + "warningsAsErrors": true, + "keyFile": "../../tools/Key.snk" + }, + "dependencies": { + "Microsoft.AspNet.StaticFiles": "1.0.0-rc1-final", + "Microsoft.AspNet.TestHost": "1.0.0-rc1-final", + "Microsoft.Extensions.Logging.Testing": "1.0.0-rc1-final", + "xunit.runner.aspnet": "2.0.0-aspnet-rc1-final" + }, + "commands": { + "test": "xunit.runner.aspnet" + }, + "frameworks": { + "dnx451": {}, + "dnxcore50": {} + } +} \ No newline at end of file