From e4784665ac528700b7177d599278173a2a440dda Mon Sep 17 00:00:00 2001 From: "N. Taylor Mullen" Date: Sun, 8 Mar 2015 12:47:36 -0700 Subject: [PATCH 1/2] Update aspnet50/aspnetcore50 => dnx451/dnxcore50. --- .../project.json | 6 +++--- .../project.json | 6 +++--- .../project.json | 6 +++--- .../project.json | 6 +++--- .../project.json | 6 +++--- .../CopyOnWriteDictionaryTest.cs | 6 +++--- test/Microsoft.Framework.Internal.Test/project.json | 4 ++-- 7 files changed, 20 insertions(+), 20 deletions(-) diff --git a/src/Microsoft.Framework.BufferEntryCollection.Internal/project.json b/src/Microsoft.Framework.BufferEntryCollection.Internal/project.json index 693bc1ff7c9..cd8c694e358 100644 --- a/src/Microsoft.Framework.BufferEntryCollection.Internal/project.json +++ b/src/Microsoft.Framework.BufferEntryCollection.Internal/project.json @@ -1,12 +1,12 @@ -{ +{ "version": "1.0.0-*", "shared": "*.cs", "dependencies": { }, "frameworks": { "net45": { }, - "aspnet50": { }, - "aspnetcore50": { + "dnx451": { }, + "dnxcore50": { "dependencies": { "System.Runtime": "4.0.20-*", "System.Collections": "4.0.10-*", diff --git a/src/Microsoft.Framework.CopyOnWriteDictionary.Internal/project.json b/src/Microsoft.Framework.CopyOnWriteDictionary.Internal/project.json index ed2306b6683..400d69bce32 100644 --- a/src/Microsoft.Framework.CopyOnWriteDictionary.Internal/project.json +++ b/src/Microsoft.Framework.CopyOnWriteDictionary.Internal/project.json @@ -1,12 +1,12 @@ -{ +{ "version": "1.0.0-*", "shared": "*.cs", "dependencies": { }, "frameworks": { "net45": { }, - "aspnet50": { }, - "aspnetcore50": { + "dnx451": { }, + "dnxcore50": { "dependencies": { "System.Runtime": "4.0.20-*" } diff --git a/src/Microsoft.Framework.NotNullAttribute.Internal/project.json b/src/Microsoft.Framework.NotNullAttribute.Internal/project.json index ed2306b6683..400d69bce32 100644 --- a/src/Microsoft.Framework.NotNullAttribute.Internal/project.json +++ b/src/Microsoft.Framework.NotNullAttribute.Internal/project.json @@ -1,12 +1,12 @@ -{ +{ "version": "1.0.0-*", "shared": "*.cs", "dependencies": { }, "frameworks": { "net45": { }, - "aspnet50": { }, - "aspnetcore50": { + "dnx451": { }, + "dnxcore50": { "dependencies": { "System.Runtime": "4.0.20-*" } diff --git a/src/Microsoft.Framework.PropertyActivator.Internal/project.json b/src/Microsoft.Framework.PropertyActivator.Internal/project.json index ed2306b6683..400d69bce32 100644 --- a/src/Microsoft.Framework.PropertyActivator.Internal/project.json +++ b/src/Microsoft.Framework.PropertyActivator.Internal/project.json @@ -1,12 +1,12 @@ -{ +{ "version": "1.0.0-*", "shared": "*.cs", "dependencies": { }, "frameworks": { "net45": { }, - "aspnet50": { }, - "aspnetcore50": { + "dnx451": { }, + "dnxcore50": { "dependencies": { "System.Runtime": "4.0.20-*" } diff --git a/src/Microsoft.Framework.PropertyHelper.Internal/project.json b/src/Microsoft.Framework.PropertyHelper.Internal/project.json index ed2306b6683..400d69bce32 100644 --- a/src/Microsoft.Framework.PropertyHelper.Internal/project.json +++ b/src/Microsoft.Framework.PropertyHelper.Internal/project.json @@ -1,12 +1,12 @@ -{ +{ "version": "1.0.0-*", "shared": "*.cs", "dependencies": { }, "frameworks": { "net45": { }, - "aspnet50": { }, - "aspnetcore50": { + "dnx451": { }, + "dnxcore50": { "dependencies": { "System.Runtime": "4.0.20-*" } diff --git a/test/Microsoft.Framework.Internal.Test/CopyOnWriteDictionaryTest.cs b/test/Microsoft.Framework.Internal.Test/CopyOnWriteDictionaryTest.cs index 0fecf184757..f56aabd789b 100644 --- a/test/Microsoft.Framework.Internal.Test/CopyOnWriteDictionaryTest.cs +++ b/test/Microsoft.Framework.Internal.Test/CopyOnWriteDictionaryTest.cs @@ -3,7 +3,7 @@ using System; using System.Collections.Generic; -#if !ASPNETCORE50 +#if !DNXCORE50 using Moq; #endif using Xunit; @@ -12,7 +12,7 @@ namespace Microsoft.Framework.Internal { public class CopyOnWriteDictionaryTest { -#if !ASPNETCORE50 +#if !DNXCORE50 [Fact] public void ReadOperation_DelegatesToSourceDictionary_IfNoMutationsArePerformed() { @@ -103,4 +103,4 @@ public void ReadOperation_DoesNotDelegateToSourceDictionary_OnceDictionaryIsModi Assert.Equal("value3", copyOnWriteDictionary["key3"]); } } -} \ No newline at end of file +} diff --git a/test/Microsoft.Framework.Internal.Test/project.json b/test/Microsoft.Framework.Internal.Test/project.json index 8705a59e329..2bf073166cb 100644 --- a/test/Microsoft.Framework.Internal.Test/project.json +++ b/test/Microsoft.Framework.Internal.Test/project.json @@ -15,11 +15,11 @@ "test": "xunit.runner.kre" }, "frameworks": { - "aspnet50": { + "dnx451": { "dependencies": { "Moq": "4.2.1312.1622" } }, - "aspnetcore50": { } + "dnxcore50": { } } } From 74c1187c149bd279139f88fcfbf6fa20f1440357 Mon Sep 17 00:00:00 2001 From: "N. Taylor Mullen" Date: Sun, 8 Mar 2015 12:47:38 -0700 Subject: [PATCH 2/2] Update build.sh to use dnvm correctly. --- build.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index b07295c81b9..a9ce06d0872 100644 --- a/build.sh +++ b/build.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash if test `uname` = Darwin; then cachedir=~/Library/Caches/KBuild @@ -27,7 +27,7 @@ if test ! -d packages/KoreBuild; then mono .nuget/nuget.exe install Sake -version 0.2 -o packages -ExcludeVersion fi -if ! type k > /dev/null 2>&1; then +if ! type dnvm > /dev/null 2>&1; then source packages/KoreBuild/build/dnvm.sh fi @@ -36,3 +36,4 @@ if ! type k > /dev/null 2>&1; then fi mono packages/Sake/tools/Sake.exe -I packages/KoreBuild/build -f makefile.shade "$@" +