зеркало из https://github.com/dotnet/aspnetcore.git
Merge branch 'release/2.1' into dev
This commit is contained in:
Коммит
ef67a7fae6
|
@ -5,6 +5,15 @@
|
|||
<PropsProperties>$(PropsProperties);RuntimeFrameworkVersion=$(RuntimeFrameworkVersion)</PropsProperties>
|
||||
<PropsProperties>$(PropsProperties);MicrosoftNETSdkRazorPackageVersion=$(MicrosoftNETSdkRazorPackageVersion)</PropsProperties>
|
||||
|
||||
<!-- This logic would be in the CLI -->
|
||||
<DefaultPatchVersionForAspNetCoreAll2_1>2.1.1</DefaultPatchVersionForAspNetCoreAll2_1>
|
||||
<DefaultPatchVersionForAspNetCoreAll2_1 Condition="$(MicrosoftAspNetCoreAllPackageVersion.StartsWith('$(DefaultPatchVersionForAspNetCoreAll2_1)'))">$(MicrosoftAspNetCoreAllPackageVersion)</DefaultPatchVersionForAspNetCoreAll2_1>
|
||||
<DefaultPatchVersionForAspNetCoreApp2_1>$(DefaultPatchVersionForAspNetCoreAll2_1)</DefaultPatchVersionForAspNetCoreApp2_1>
|
||||
<DefaultPatchVersionForAspNetCoreApp2_1 Condition="$(MicrosoftAspNetCoreAppPackageVersion.StartsWith('$(DefaultPatchVersionForAspNetCoreApp2_1)'))">$(MicrosoftAspNetCoreAppPackageVersion)</DefaultPatchVersionForAspNetCoreApp2_1>
|
||||
|
||||
<PropsProperties>$(PropsProperties);DefaultPatchVersionForAspNetCoreAll2_1=$(DefaultPatchVersionForAspNetCoreAll2_1)</PropsProperties>
|
||||
<PropsProperties>$(PropsProperties);DefaultPatchVersionForAspNetCoreApp2_1=$(DefaultPatchVersionForAspNetCoreApp2_1)</PropsProperties>
|
||||
|
||||
<!-- These properties would normally be bundled in the CLI -->
|
||||
|
||||
<!-- Overriding this property to fix tests until 2.1.0 is released or we have updated the tfm to netcoreapp2.2 https://github.com/aspnet/templating/issues/488 -->
|
||||
|
|
|
@ -4,5 +4,7 @@
|
|||
<RestoreSources>${RestoreSources}</RestoreSources>
|
||||
<RuntimeFrameworkVersion>${RuntimeFrameworkVersion}</RuntimeFrameworkVersion>
|
||||
<MicrosoftNETSdkRazorPackageVersion>${MicrosoftNETSdkRazorPackageVersion}</MicrosoftNETSdkRazorPackageVersion>
|
||||
<DefaultPatchVersionForAspNetCoreAll2_1>${DefaultPatchVersionForAspNetCoreAll2_1}</DefaultPatchVersionForAspNetCoreAll2_1>
|
||||
<DefaultPatchVersionForAspNetCoreApp2_1>${DefaultPatchVersionForAspNetCoreApp2_1}</DefaultPatchVersionForAspNetCoreApp2_1>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
|
|
|
@ -37,30 +37,40 @@ Copyright (c) .NET Foundation. All rights reserved.
|
|||
<Choose>
|
||||
<When Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'" >
|
||||
|
||||
<PropertyGroup>
|
||||
<!-- These properties will allow the latest patch versions to be set in the CLI (via BundledVersions.props) or overridden by tests -->
|
||||
<DefaultPatchVersionForAspNetCoreAll2_1 Condition="'$(DefaultPatchVersionForAspNetCoreAll2_1)' == ''">2.1.1</DefaultPatchVersionForAspNetCoreAll2_1>
|
||||
<DefaultPatchVersionForAspNetCoreApp2_1 Condition="'$(DefaultPatchVersionForAspNetCoreApp2_1)' == ''">2.1.1</DefaultPatchVersionForAspNetCoreApp2_1>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Default patch version of .All Framework -->
|
||||
<PropertyGroup Condition="'$(DefaultAspNetCoreAllPatchVersion)' == ''">
|
||||
<DefaultAspNetCoreAllPatchVersion Condition="'$(_TargetFrameworkVersionWithoutV)' == '2.1'">$(DefaultPatchVersionForAspNetCoreAll2_1)</DefaultAspNetCoreAllPatchVersion>
|
||||
|
||||
<!-- If targeting the same pre-release that is bundled with the .NET Core SDK, use the bundled package version
|
||||
provided by Microsoft.NETCoreSdk.BundledVersions.props -->
|
||||
<DefaultAspNetCoreAllPatchVersion Condition="'$(_TargetFrameworkVersionWithoutV)' == '${BundledAspNetCoreAllTargetFrameworkVersion}'">${BundledAspNetCoreAllPackageVersion}</DefaultAspNetCoreAllPatchVersion>
|
||||
<DefaultAspNetCoreAllPatchVersion Condition="'$(DefaultAspNetCoreAllPatchVersion)' == '' AND '$(_TargetFrameworkVersionWithoutV)' == '${BundledAspNetCoreAllTargetFrameworkVersion}'">${BundledAspNetCoreAllPackageVersion}</DefaultAspNetCoreAllPatchVersion>
|
||||
<!-- If not covered by the previous cases use the target framework version for the default patch version -->
|
||||
<DefaultAspNetCoreAllPatchVersion Condition="'$(DefaultAspNetCoreAllPatchVersion)' == ''">$(_TargetFrameworkVersionWithoutV)</DefaultAspNetCoreAllPatchVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Default patch version of .App Framework -->
|
||||
<PropertyGroup Condition="'$(DefaultAspNetCoreAppPatchVersion)' == ''">
|
||||
<DefaultAspNetCoreAppPatchVersion Condition="'$(_TargetFrameworkVersionWithoutV)' == '2.1'">$(DefaultPatchVersionForAspNetCoreApp2_1)</DefaultAspNetCoreAppPatchVersion>
|
||||
|
||||
<!-- If targeting the same pre-release that is bundled with the .NET Core SDK, use the bundled package version
|
||||
provided by Microsoft.NETCoreSdk.BundledVersions.props -->
|
||||
<DefaultAspNetCoreAppPatchVersion Condition="'$(_TargetFrameworkVersionWithoutV)' == '${BundledAspNetCoreAppTargetFrameworkVersion}'">${BundledAspNetCoreAppPackageVersion}</DefaultAspNetCoreAppPatchVersion>
|
||||
<DefaultAspNetCoreAppPatchVersion Condition="'$(DefaultAspNetCoreAppPatchVersion)' == '' AND '$(_TargetFrameworkVersionWithoutV)' == '${BundledAspNetCoreAppTargetFrameworkVersion}'">${BundledAspNetCoreAppPackageVersion}</DefaultAspNetCoreAppPatchVersion>
|
||||
<!-- If not covered by the previous cases use the target framework version for the default patch version -->
|
||||
<DefaultAspNetCoreAppPatchVersion Condition="'$(DefaultAspNetCoreAppPatchVersion)' == ''">$(_TargetFrameworkVersionWithoutV)</DefaultAspNetCoreAppPatchVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Latest patch version of .All Framework -->
|
||||
<PropertyGroup Condition="'$(LatestAspNetCoreAllPatchVersion)' == ''">
|
||||
<!-- Placeholder for setting latest patch version using the bundled version from CLI -->
|
||||
<!-- Placeholder for setting latest patch version using the bundled version from CLI for previous TFMs, this will not apply until 2.2 -->
|
||||
<!-- <LatestAspNetCoreAllPatchVersion Condition="'$(_TargetFrameworkVersionWithoutV)' == '2.1'">$(LatestPatchVersionForAspNetCoreAll2_1)</LatestAspNetCoreAllPatchVersion> -->
|
||||
|
||||
<!-- If targeting the same pre-release that is bundled with the .NET Core SDK, use the bundled package version
|
||||
<!-- If targeting the same release that is bundled with the .NET Core SDK, use the bundled package version
|
||||
provided by Microsoft.NETCoreSdk.BundledVersions.props -->
|
||||
<LatestAspNetCoreAllPatchVersion Condition="'$(_TargetFrameworkVersionWithoutV)' == '${BundledAspNetCoreAllTargetFrameworkVersion}'">${BundledAspNetCoreAllPackageVersion}</LatestAspNetCoreAllPatchVersion>
|
||||
<!-- If not covered by the previous cases use the target framework version for the latest patch version -->
|
||||
|
@ -69,10 +79,10 @@ Copyright (c) .NET Foundation. All rights reserved.
|
|||
|
||||
<!-- Latest patch version of .App Framework -->
|
||||
<PropertyGroup Condition="'$(LatestAspNetCoreAppPatchVersion)' == ''">
|
||||
<!-- Placeholder for setting latest patch version using the bundled version from CLI -->
|
||||
<!-- Placeholder for setting latest patch version using the bundled version from CLI for previous TFMs, this will not apply until 2.2 -->
|
||||
<!-- <LatestAspNetCoreAppPatchVersion Condition="'$(_TargetFrameworkVersionWithoutV)' == '2.1'">$(LatestPatchVersionForAspNetCoreApp2_1)</LatestAspNetCoreAppPatchVersion> -->
|
||||
|
||||
<!-- If targeting the same pre-release that is bundled with the .NET Core SDK, use the bundled package version
|
||||
<!-- If targeting the same release that is bundled with the .NET Core SDK, use the bundled package version
|
||||
provided by Microsoft.NETCoreSdk.BundledVersions.props -->
|
||||
<LatestAspNetCoreAppPatchVersion Condition="'$(_TargetFrameworkVersionWithoutV)' == '${BundledAspNetCoreAppTargetFrameworkVersion}'">${BundledAspNetCoreAppPackageVersion}</LatestAspNetCoreAppPatchVersion>
|
||||
<!-- If not covered by the previous cases use the target framework version for the latest patch version -->
|
||||
|
|
Загрузка…
Ссылка в новой задаче