Skip to content

Commit c5f8e25

Browse files
committed
Merge branch 'rc1'
2 parents 8070979 + 1301a70 commit c5f8e25

File tree

7 files changed

+29
-23
lines changed

7 files changed

+29
-23
lines changed

NuGet.Config

-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<configuration>
33
<packageSources>
4-
<clear />
5-
<add key="xunit" value="https://www.myget.org/F/xunit/api/v3/index.json" />
6-
<add key="AspNetVNext" value="https://www.myget.org/F/aspnetvnext/api/v2" />
74
<add key="NuGet" value="https://api.nuget.org/v3/index.json" />
85
</packageSources>
96
</configuration>

build.cmd

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ copy %CACHED_NUGET% .nuget\nuget.exe > nul
1818

1919
:restore
2020
IF EXIST packages\Sake goto getdnx
21-
.nuget\nuget.exe install KoreBuild -ExcludeVersion -o packages -nocache -pre
22-
.nuget\NuGet.exe install Sake -ExcludeVersion -Source https://www.nuget.org/api/v2/ -o packages
21+
.nuget\NuGet.exe install KoreBuild -version 0.2.1-beta7 -Source https://www.myget.org/F/aspnetmaster/api/v2 -o packages -nocache -pre -ExcludeVersion
22+
.nuget\NuGet.exe install Sake -version 0.2.0 -Source https://www.nuget.org/api/v2/ -o packages -ExcludeVersion
2323

2424
:getdnx
2525
CALL packages\KoreBuild\build\dnvm upgrade -runtime CoreCLR -arch x86 -alias default

build.sh

+5-5
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,18 @@ if test ! -e .nuget; then
2222
cp $cachePath .nuget/nuget.exe
2323
fi
2424

25-
if test ! -d packages/Sake; then
26-
mono .nuget/nuget.exe install KoreBuild -Source https://www.myget.org/F/aspnetvnext/ -ExcludeVersion -o packages -nocache -pre
27-
mono .nuget/nuget.exe install Sake -Source https://www.nuget.org/api/v2/ -o packages -ExcludeVersion
25+
if test ! -d packages/KoreBuild; then
26+
mono .nuget/nuget.exe install KoreBuild -version 0.2.1-beta7 -Source https://www.myget.org/F/aspnetmaster/api/v2 -o packages -nocache -pre -ExcludeVersion
27+
mono .nuget/nuget.exe install Sake -version 0.2.0 -Source https://www.nuget.org/api/v2/ -o packages -ExcludeVersion
2828
fi
2929

3030
if ! type dnvm > /dev/null 2>&1; then
3131
source packages/KoreBuild/build/dnvm.sh
3232
fi
3333

34+
DNX_FEED=https://www.nuget.org/api/v2/
3435
if ! type dnx > /dev/null 2>&1; then
35-
dnvm install latest -runtime coreclr -alias default
36-
dnvm install default -runtime mono -alias default
36+
dnvm upgrade -r mono
3737
fi
3838

3939
mono packages/Sake/tools/Sake.exe -I packages/KoreBuild/build -f makefile.shade "$@"

global.json

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
{
2-
"projects": [ "src" ]
3-
}
2+
"projects": [ "src", "text" ],
3+
"sdk": {
4+
"version": "1.0.0-rc1-final"
5+
}
6+
}

src/CryptoHelper/Crypto.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
using System.Runtime.CompilerServices;
33
using System.Security.Cryptography;
44

5-
#if NET451 || DOTNET5_4
5+
#if NET451 || DNX451 || DOTNET5_4
66
using Microsoft.AspNet.Cryptography.KeyDerivation;
77
#endif
88

@@ -147,7 +147,7 @@ private static bool VerifyHashedPasswordInternal(string hashedPassword, string p
147147
}
148148
#endif
149149

150-
#if NET451 || DOTNET5_4
150+
#if NET451 || DNX451 || DOTNET5_4
151151
private static readonly RandomNumberGenerator _rng = RandomNumberGenerator.Create();
152152

153153
private static string HashPasswordInternal(string password)

src/CryptoHelper/project.json

+12-6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "1.0.0-rc1-*",
2+
"version": "1.0.0-rc1-final",
33
"authors": [ "Henk Mollema" ],
44
"owners": [ "Henk Mollema" ],
55
"description": "Cryptography helper methods for hashing passwords using a PBKDF2 implementation.",
@@ -19,16 +19,22 @@
1919

2020
"net451": {
2121
"dependencies": {
22-
"Microsoft.AspNet.Cryptography.KeyDerivation": "1.0.0-*"
22+
"Microsoft.AspNet.Cryptography.KeyDerivation": "1.0.0-rc1-final"
23+
}
24+
},
25+
26+
"dnx451": {
27+
"dependencies": {
28+
"Microsoft.AspNet.Cryptography.KeyDerivation": "1.0.0-rc1-final"
2329
}
2430
},
2531

2632
"dotnet5.4": {
2733
"dependencies": {
28-
"Microsoft.AspNet.Cryptography.KeyDerivation": "1.0.0-*",
29-
"Microsoft.CSharp": "4.0.1-beta-*",
30-
"System.Runtime": "4.0.21-beta-*",
31-
"System.Security.Cryptography.Algorithms": "4.0.0-beta-*"
34+
"Microsoft.AspNet.Cryptography.KeyDerivation": "1.0.0-rc1-final",
35+
"Microsoft.CSharp": "4.0.1-beta-23516",
36+
"System.Runtime": "4.0.21-beta-23516",
37+
"System.Security.Cryptography.Algorithms": "4.0.0-beta-23516"
3238
}
3339
}
3440
}

test/CryptoHelper.Tests/project.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
"description": "CryptoHelper Tests library.",
44

55
"dependencies": {
6-
"CryptoHelper": "1.0.0-rc1-*",
7-
"xunit": "2.2.0-*",
8-
"xunit.runner.dnx": "2.1.0-rc1-*"
6+
"CryptoHelper": "1.0.0-rc1-final",
7+
"xunit": "2.1.0",
8+
"xunit.runner.dnx": "2.1.0-rc1-build204"
99
},
1010

1111
"commands": {

0 commit comments

Comments
 (0)