Update K_BUILD_VERSION/kre/KRE/.k => DNX_BUILD_VERSION/dnx/DNX/.dnx.

This commit is contained in:
N. Taylor Mullen 2015-03-08 12:48:39 -07:00
parent 684983effb
commit 61ef1afd30
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
@echo off
@echo off
cd %~dp0
SETLOCAL
@ -19,7 +19,7 @@ IF EXIST packages\KoreBuild goto run
.nuget\NuGet.exe install KoreBuild -ExcludeVersion -o packages -nocache -pre
.nuget\NuGet.exe install Sake -version 0.2 -o packages -ExcludeVersion
IF "%SKIP_KRE_INSTALL%"=="1" goto run
IF "%SKIP_DNX_INSTALL%"=="1" goto run
CALL packages\KoreBuild\build\kvm upgrade -runtime CLR -x86
CALL packages\KoreBuild\build\kvm install default -runtime CoreCLR -x86

View File

@ -65,9 +65,9 @@ namespace Microsoft.AspNet.Diagnostics
private static string GetRuntimeVersion()
{
var klr = Assembly.Load(new AssemblyName("kre.host"));
var klr = Assembly.Load(new AssemblyName("dnx.host"));
var version = klr.GetCustomAttribute<AssemblyInformationalVersionAttribute>();
return version?.InformationalVersion;
}
}
}
}