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

Commit 3426702

Browse files
author
Suhas Joshi
committed
Updating json files to pin versions and build.cmd to pin KoreBuild and DNX
1 parent 497811f commit 3426702

File tree

30 files changed

+33933
-82
lines changed

30 files changed

+33933
-82
lines changed

NuGet.Config

Lines changed: 1 addition & 0 deletions
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

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/CookieSample/project.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"dependencies": {
3-
"Microsoft.AspNet.Authentication.Cookies": "1.0.0-*",
4-
"Microsoft.AspNet.Server.WebListener": "1.0.0-*",
5-
"Microsoft.AspNet.Server.IIS": "1.0.0-*",
6-
"Kestrel": "1.0.0-*"
3+
"Microsoft.AspNet.Authentication.Cookies": "1.0.0-beta4",
4+
"Microsoft.AspNet.Server.WebListener": "1.0.0-beta4",
5+
"Microsoft.AspNet.Server.IIS": "1.0.0-beta4",
6+
"Kestrel": "1.0.0-beta4"
77
},
88
"commands": {
99
"web": "Microsoft.AspNet.Hosting server=Microsoft.AspNet.Server.WebListener server.urls=http://localhost:12345",

samples/CookieSessionSample/project.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"dependencies": {
3-
"Microsoft.AspNet.Authentication.Cookies": "1.0.0-*",
4-
"Microsoft.AspNet.Server.WebListener": "1.0.0-*",
5-
"Microsoft.Framework.Caching.Memory": "1.0.0-*",
6-
"Kestrel": "1.0.0-*",
7-
"Microsoft.AspNet.Server.IIS": "1.0.0-*"
3+
"Microsoft.AspNet.Authentication.Cookies": "1.0.0-beta4",
4+
"Microsoft.AspNet.Server.WebListener": "1.0.0-beta4",
5+
"Microsoft.Framework.Caching.Memory": "1.0.0-beta4",
6+
"Kestrel": "1.0.0-beta4",
7+
"Microsoft.AspNet.Server.IIS": "1.0.0-beta4"
88
},
99
"commands": {
1010
"web": "Microsoft.AspNet.Hosting server=Microsoft.AspNet.Server.WebListener server.urls=http://localhost:12345",

samples/OpenIdConnectSample/project.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"dependencies": {
3-
"Kestrel": "1.0.0-*",
4-
"Microsoft.AspNet.Authentication.Cookies": "1.0.0-*",
5-
"Microsoft.AspNet.Server.IIS": "1.0.0-*",
6-
"Microsoft.AspNet.Authentication.OpenIdConnect": "1.0.0-*",
7-
"Microsoft.AspNet.Server.WebListener": "1.0.0-*"
3+
"Kestrel": "1.0.0-beta4",
4+
"Microsoft.AspNet.Authentication.Cookies": "1.0.0-beta4",
5+
"Microsoft.AspNet.Server.IIS": "1.0.0-beta4",
6+
"Microsoft.AspNet.Authentication.OpenIdConnect": "1.0.0-beta4",
7+
"Microsoft.AspNet.Server.WebListener": "1.0.0-beta4"
88
},
99
"frameworks": {
1010
"dnx451": { },

samples/SocialSample/project.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"dependencies": {
3-
"Microsoft.AspNet.Diagnostics": "1.0.0-*",
4-
"Microsoft.AspNet.Authentication.Cookies": "1.0.0-*",
5-
"Microsoft.AspNet.Authentication.Facebook": "1.0.0-*",
6-
"Microsoft.AspNet.Authentication.Google": "1.0.0-*",
7-
"Microsoft.AspNet.Authentication.MicrosoftAccount": "1.0.0-*",
8-
"Microsoft.AspNet.Authentication.Twitter": "1.0.0-*",
9-
"Microsoft.AspNet.Server.IIS": "1.0.0-*",
10-
"Microsoft.AspNet.Server.WebListener": "1.0.0-*",
11-
"Kestrel": "1.0.0-*"
3+
"Microsoft.AspNet.Diagnostics": "1.0.0-beta4",
4+
"Microsoft.AspNet.Authentication.Cookies": "1.0.0-beta4",
5+
"Microsoft.AspNet.Authentication.Facebook": "1.0.0-beta4",
6+
"Microsoft.AspNet.Authentication.Google": "1.0.0-beta4",
7+
"Microsoft.AspNet.Authentication.MicrosoftAccount": "1.0.0-beta4",
8+
"Microsoft.AspNet.Authentication.Twitter": "1.0.0-beta4",
9+
"Microsoft.AspNet.Server.IIS": "1.0.0-beta4",
10+
"Microsoft.AspNet.Server.WebListener": "1.0.0-beta4",
11+
"Kestrel": "1.0.0-beta4"
1212
},
1313
"commands": {
1414
/* Note all servers must use the same address and port because these are pre-registered with the various providers. */
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
2-
"version": "1.0.0-*",
2+
"version": "1.0.0-beta4",
33
"description": "ASP.NET middleware that enables an application to use cookie based authentication, similar to ASP.NET's forms authentication.",
44
"dependencies": {
5-
"Microsoft.AspNet.Authentication": "1.0.0-*",
6-
"Microsoft.Framework.NotNullAttribute.Internal": { "type": "build", "version": "1.0.0-*" },
5+
"Microsoft.AspNet.Authentication": "1.0.0-beta4",
6+
"Microsoft.Framework.NotNullAttribute.Internal": { "type": "build", "version": "1.0.0-beta4" },
77
"Newtonsoft.Json": "6.0.6"
88
},
99
"frameworks": {
1010
"dnx451": { },
1111
"dnxcore50": { }
1212
}
13-
}
13+
}

0 commit comments

Comments
 (0)