Update K_BUILD_VERSION/kre/KRE/.k => DNX_BUILD_VERSION/dnx/DNX/.dnx.
This commit is contained in:
Родитель
19df67f33e
Коммит
1bf2c7c7f3
|
@ -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
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
|
||||
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
using System;
|
||||
|
@ -44,7 +44,7 @@ namespace Microsoft.AspNet.Builder
|
|||
|
||||
public static IApplicationBuilder UseServices(this IApplicationBuilder builder, Func<IServiceCollection, IServiceProvider> configureServices)
|
||||
{
|
||||
// Import services from hosting/KRE as fallback
|
||||
// Import services from hosting/DNX as fallback
|
||||
var serviceCollection = HostingServices.Create(builder.ApplicationServices);
|
||||
|
||||
builder.ApplicationServices = configureServices(serviceCollection);
|
||||
|
@ -52,4 +52,4 @@ namespace Microsoft.AspNet.Builder
|
|||
return builder.UseMiddleware<ContainerMiddleware>();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче