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

Commit 2b14838

Browse files
author
Suhas Joshi
committed
Updating json files to pin versions and build.cmd to pin KoreBuild and DNX
1 parent 362a2f5 commit 2b14838

File tree

17 files changed

+7655
-51
lines changed

17 files changed

+7655
-51
lines changed

NuGet.Config

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<configuration>
33
<packageSources>
4+
<clear />
45
<add key="NuGet" value="https://nuget.org/api/v2/" />
56
<add key="AspNetMaster" value="https://www.myget.org/F/aspnetmaster/api/v2" />
67
</packageSources>

build.cmd

+10-2
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/SampleApp/project.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
{
22
"dependencies": {
3-
"Microsoft.Framework.Logging": "1.0.0-*",
4-
"Microsoft.Framework.Logging.Console": "1.0.0-*"
3+
"Microsoft.Framework.Logging": "1.0.0-beta4",
4+
"Microsoft.Framework.Logging.Console": "1.0.0-beta4"
55
},
66
"frameworks": {
77
"dnx451": {
88
"dependencies": {
9-
"Microsoft.Framework.Logging.NLog": "1.0.0-*",
10-
"Microsoft.Framework.Logging.Serilog": "1.0.0-*"
9+
"Microsoft.Framework.Logging.NLog": "1.0.0-beta4",
10+
"Microsoft.Framework.Logging.Serilog": "1.0.0-beta4"
1111
}
1212
},
1313
"dnxcore50": {
1414
"dependencies": {
15-
"System.Console": "4.0.0-beta-*"
15+
"System.Console": "4.0.0-beta-22816"
1616
}
1717
}
1818
}

src/Microsoft.Framework.Logging.Console/project.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
{
2-
"version": "1.0.0-*",
2+
"version": "1.0.0-beta4",
33
"description": "Console logger implementation.",
44
"dependencies": {
5-
"Microsoft.Framework.Logging.Interfaces": "1.0.0-*"
5+
"Microsoft.Framework.Logging.Interfaces": "1.0.0-beta4"
66
},
77
"frameworks": {
88
"net45": { },
99
"dnx451": { },
1010
"dnxcore50": {
1111
"dependencies": {
12-
"System.Runtime": "4.0.20.0-beta-*",
13-
"System.Console": "4.0.0-beta-*",
14-
"System.IO": "4.0.10-beta-*",
15-
"System.Threading": "4.0.10-beta-*"
12+
"System.Runtime": "4.0.20.0-beta-22816",
13+
"System.Console": "4.0.0-beta-22816",
14+
"System.IO": "4.0.10-beta-22816",
15+
"System.Threading": "4.0.10-beta-22816"
1616
}
1717
}
1818
}

0 commit comments

Comments
 (0)