Skip to content
This repository was archived by the owner on Dec 14, 2018. It is now read-only.

Commit d95e995

Browse files
committed
Updating json files to pin versions and build.cmd to pin KoreBuild and DNX
1 parent 3080138 commit d95e995

File tree

153 files changed

+366952
-485
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

153 files changed

+366952
-485
lines changed

build.cmd

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,19 @@ copy %CACHED_NUGET% .nuget\nuget.exe > nul
1616

1717
:restore
1818
IF EXIST packages\KoreBuild goto run
19-
.nuget\NuGet.exe install KoreBuild -ExcludeVersion -o packages -nocache -pre
19+
IF DEFINED BUILDCMD_RELEASE (
20+
.nuget\NuGet.exe install KoreBuild -version 0.2.1-%BUILDCMD_RELEASE% -ExcludeVersion -o packages -nocache -pre
21+
) ELSE (
22+
.nuget\NuGet.exe install KoreBuild -ExcludeVersion -o packages -nocache -pre
23+
)
2024
.nuget\NuGet.exe install Sake -version 0.2 -o packages -ExcludeVersion
2125

2226
IF "%SKIP_DNX_INSTALL%"=="1" goto run
23-
CALL packages\KoreBuild\build\dnvm upgrade -runtime CLR -arch x86
27+
IF DEFINED BUILDCMD_RELEASE (
28+
CALL packages\KoreBuild\build\dnvm install 1.0.0-%BUILDCMD_RELEASE% -runtime CLR -arch x86 -a default
29+
) ELSE (
30+
CALL packages\KoreBuild\build\dnvm upgrade -runtime CLR -arch x86
31+
)
2432
CALL packages\KoreBuild\build\dnvm install default -runtime CoreCLR -arch x86
2533

2634
:run

samples/MvcSample.Web/project.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,23 @@
77
"warningsAsErrors": true
88
},
99
"dependencies": {
10-
"Kestrel": "1.0.0-*",
11-
"Microsoft.AspNet.Diagnostics": "1.0.0-*",
12-
"Microsoft.AspNet.Mvc": "6.0.0-*",
13-
"Microsoft.AspNet.Mvc.Xml": "6.0.0-*",
14-
"Microsoft.AspNet.Mvc.WebApiCompatShim": "6.0.0-*",
15-
"Microsoft.AspNet.Server.IIS": "1.0.0-*",
16-
"Microsoft.AspNet.Server.WebListener": "1.0.0-*",
17-
"Microsoft.AspNet.Session": "1.0.0-*",
18-
"Microsoft.AspNet.StaticFiles": "1.0.0-*",
19-
"Microsoft.Framework.PropertyHelper.Sources": { "version": "1.0.0-*", "type": "build" },
20-
"Microsoft.Framework.NotNullAttribute.Sources": { "type": "build", "version": "1.0.0-*" }
10+
"Kestrel": "1.0.0-beta5",
11+
"Microsoft.AspNet.Diagnostics": "1.0.0-beta5",
12+
"Microsoft.AspNet.Mvc": "6.0.0-beta5",
13+
"Microsoft.AspNet.Mvc.Xml": "6.0.0-beta5",
14+
"Microsoft.AspNet.Mvc.WebApiCompatShim": "6.0.0-beta5",
15+
"Microsoft.AspNet.Server.IIS": "1.0.0-beta5",
16+
"Microsoft.AspNet.Server.WebListener": "1.0.0-beta5",
17+
"Microsoft.AspNet.Session": "1.0.0-beta5",
18+
"Microsoft.AspNet.StaticFiles": "1.0.0-beta5",
19+
"Microsoft.Framework.PropertyHelper.Sources": { "version": "1.0.0-beta5", "type": "build" },
20+
"Microsoft.Framework.NotNullAttribute.Sources": { "type": "build", "version": "1.0.0-beta5" }
2121
},
2222
"frameworks": {
2323
"dnx451": {
2424
"dependencies": {
25-
"Microsoft.Framework.DependencyInjection.Autofac": "1.0.0-*",
26-
"Microsoft.Framework.Configuration.Json": "1.0.0-*"
25+
"Microsoft.Framework.DependencyInjection.Autofac": "1.0.0-beta5",
26+
"Microsoft.Framework.Configuration.Json": "1.0.0-beta5"
2727
}
2828
},
2929
"dnxcore50": {

0 commit comments

Comments
 (0)