Update K_BUILD_VERSION/kre/KRE/.k => DNX_BUILD_VERSION/dnx/DNX/.dnx.
This commit is contained in:
parent
684983effb
commit
61ef1afd30
|
|
@ -1,4 +1,4 @@
|
||||||
@echo off
|
@echo off
|
||||||
cd %~dp0
|
cd %~dp0
|
||||||
|
|
||||||
SETLOCAL
|
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 KoreBuild -ExcludeVersion -o packages -nocache -pre
|
||||||
.nuget\NuGet.exe install Sake -version 0.2 -o packages -ExcludeVersion
|
.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 upgrade -runtime CLR -x86
|
||||||
CALL packages\KoreBuild\build\kvm install default -runtime CoreCLR -x86
|
CALL packages\KoreBuild\build\kvm install default -runtime CoreCLR -x86
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -65,9 +65,9 @@ namespace Microsoft.AspNet.Diagnostics
|
||||||
|
|
||||||
private static string GetRuntimeVersion()
|
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>();
|
var version = klr.GetCustomAttribute<AssemblyInformationalVersionAttribute>();
|
||||||
return version?.InformationalVersion;
|
return version?.InformationalVersion;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue