Skip to content

Commit 1dd84aa

Browse files
authored
Merge pull request #610 from dagood/2.1.1-fixes
[release/2.1] 2.1.1 fixes, combined
2 parents 3f88cca + cdf7249 commit 1dd84aa

10 files changed

+86
-8
lines changed

DotnetCLIVersion.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.1.300-rc1-008673
1+
2.1.300

ProdConFeed.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
https://dotnetfeed.blob.core.windows.net/orchestrated-release-2-1/20180515-07/final/index.json
1+
https://dotnetfeed.blob.core.windows.net/orchestrated-release-2-1/20180605-09/final/index.json

dependencies.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
for which dotnet/versions commit was last used to update the dependency.
66
-->
77
<PropertyGroup>
8-
<ProdConCurrentRef>79731c509a9d31b921f531ee63c48daa8e0c30d5</ProdConCurrentRef>
8+
<ProdConCurrentRef>d1e2bedf58a4a66aadda4f5751ecdaf3ad4f62fe</ProdConCurrentRef>
99
<CoreClrCurrentRef>79731c509a9d31b921f531ee63c48daa8e0c30d5</CoreClrCurrentRef>
1010
<BuildToolsCurrentRef>ba7a90f8cbc824737d0fae5ff230635a9764a1d7</BuildToolsCurrentRef>
1111
</PropertyGroup>
@@ -40,7 +40,7 @@
4040

4141
<DependencyInfo Include="ProdCon">
4242
<DependencyType>Orchestrated build</DependencyType>
43-
<BasePath>build-info/dotnet/product/cli/release/2.1.1</BasePath>
43+
<BasePath>build-info/dotnet/product/cli/release/2.1</BasePath>
4444
<CurrentRef>$(ProdConCurrentRef)</CurrentRef>
4545
<VersionsRepoOwner>dotnet</VersionsRepoOwner>
4646
<VersionsRepo>versions</VersionsRepo>
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
From 9609106bcab766e1e44e464c38cc4148ea639a23 Mon Sep 17 00:00:00 2001
2+
From: Davis Goodin <dagood@microsoft.com>
3+
Date: Wed, 13 Jun 2018 09:46:43 -0500
4+
Subject: [PATCH] Persist ASP.NET runtime patch targeting default
5+
6+
Let the CLI build take a default value for TargetLatestAspNetCoreRuntimePatch in the output SDK.
7+
8+
https://github.com/dotnet/cli/issues/9469 is required to remove this patch.
9+
---
10+
build/MSBuildExtensions.targets | 3 +++
11+
1 file changed, 3 insertions(+)
12+
13+
diff --git a/build/MSBuildExtensions.targets b/build/MSBuildExtensions.targets
14+
index 042cd2e93..7df11b659 100644
15+
--- a/build/MSBuildExtensions.targets
16+
+++ b/build/MSBuildExtensions.targets
17+
@@ -185,6 +185,9 @@ Copyright (c) .NET Foundation. All rights reserved.
18+
<LatestPatchVersionForNetCore1_0 Condition="'$(LatestPatchVersionForNetCore1_0)' == ''">1.0.11</LatestPatchVersionForNetCore1_0>
19+
<LatestPatchVersionForNetCore1_1 Condition="'$(LatestPatchVersionForNetCore1_1)' == ''">1.1.8</LatestPatchVersionForNetCore1_1>
20+
<LatestPatchVersionForNetCore2_0 Condition="'$(LatestPatchVersionForNetCore2_0)' == ''">2.0.7</LatestPatchVersionForNetCore2_0>
21+
+
22+
+ <!-- If true, always target the latest ASP.NET Core runtime by default -->
23+
+ <TargetLatestAspNetCoreRuntimePatch Condition="'$(TargetLatestAspNetCoreRuntimePatch)' == ''">$(DefaultTargetLatestAspNetCoreRuntimePatch)</TargetLatestAspNetCoreRuntimePatch>
24+
</PropertyGroup>
25+
</Project>
26+
]]>
27+
--
28+
2.17.1.windows.2
29+
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
From d5f8588d6a97ba9972e572219c2a1a714fd587b1 Mon Sep 17 00:00:00 2001
2+
From: Davis Goodin <dagood@microsoft.com>
3+
Date: Wed, 13 Jun 2018 12:35:52 -0500
4+
Subject: [PATCH] Add versioned AspNetCore patch override properties
5+
6+
https://github.com/aspnet/websdk/issues/355 will include changes that make this patch unnecessary.
7+
---
8+
.../Sdk.DefaultItems.targets | 10 ++++++----
9+
1 file changed, 6 insertions(+), 4 deletions(-)
10+
11+
diff --git a/src/Web/Microsoft.NET.Sdk.Web.Targets/Sdk.DefaultItems.targets b/src/Web/Microsoft.NET.Sdk.Web.Targets/Sdk.DefaultItems.targets
12+
index 9fc331e..15ebdc5 100644
13+
--- a/src/Web/Microsoft.NET.Sdk.Web.Targets/Sdk.DefaultItems.targets
14+
+++ b/src/Web/Microsoft.NET.Sdk.Web.Targets/Sdk.DefaultItems.targets
15+
@@ -67,11 +67,12 @@ Copyright (c) .NET Foundation. All rights reserved.
16+
<!-- Latest patch version of .All Framework -->
17+
<PropertyGroup Condition="'$(LatestAspNetCoreAllPatchVersion)' == ''">
18+
<!-- Placeholder for setting latest patch version using the bundled version from CLI for previous TFMs, this will not apply until 2.2 -->
19+
- <!-- <LatestAspNetCoreAllPatchVersion Condition="'$(_TargetFrameworkVersionWithoutV)' == '2.1'">$(LatestPatchVersionForAspNetCoreAll2_1)</LatestAspNetCoreAllPatchVersion> -->
20+
+ <LatestAspNetCoreAllPatchVersion Condition="'$(_TargetFrameworkVersionWithoutV)' == '2.1'">$(LatestPatchVersionForAspNetCoreAll2_1)</LatestAspNetCoreAllPatchVersion>
21+
+ <LatestAspNetCoreAllPatchVersion Condition="'$(_TargetFrameworkVersionWithoutV)' == '2.2'">$(LatestPatchVersionForAspNetCoreAll2_2)</LatestAspNetCoreAllPatchVersion>
22+
23+
<!-- If targeting the same release that is bundled with the .NET Core SDK, use the bundled package version
24+
provided by Microsoft.NETCoreSdk.BundledVersions.props -->
25+
- <LatestAspNetCoreAllPatchVersion Condition="'$(_TargetFrameworkVersionWithoutV)' == '$(BundledAspNetCoreAllTargetFrameworkVersion)'">$(BundledAspNetCoreAllPackageVersion)</LatestAspNetCoreAllPatchVersion>
26+
+ <LatestAspNetCoreAllPatchVersion Condition="'$(_TargetFrameworkVersionWithoutV)' == '$(BundledAspNetCoreAllTargetFrameworkVersion)' AND '$(LatestAspNetCoreAllPatchVersion)' == ''">$(BundledAspNetCoreAllPackageVersion)</LatestAspNetCoreAllPatchVersion>
27+
<!-- If not covered by the previous cases use the target framework version for the latest patch version -->
28+
<LatestAspNetCoreAllPatchVersion Condition="'$(LatestAspNetCoreAllPatchVersion)' == ''">$(_TargetFrameworkVersionWithoutV)</LatestAspNetCoreAllPatchVersion>
29+
</PropertyGroup>
30+
@@ -79,11 +80,12 @@ Copyright (c) .NET Foundation. All rights reserved.
31+
<!-- Latest patch version of .App Framework -->
32+
<PropertyGroup Condition="'$(LatestAspNetCoreAppPatchVersion)' == ''">
33+
<!-- Placeholder for setting latest patch version using the bundled version from CLI for previous TFMs, this will not apply until 2.2 -->
34+
- <!-- <LatestAspNetCoreAppPatchVersion Condition="'$(_TargetFrameworkVersionWithoutV)' == '2.1'">$(LatestPatchVersionForAspNetCoreApp2_1)</LatestAspNetCoreAppPatchVersion> -->
35+
+ <LatestAspNetCoreAppPatchVersion Condition="'$(_TargetFrameworkVersionWithoutV)' == '2.1'">$(LatestPatchVersionForAspNetCoreApp2_1)</LatestAspNetCoreAppPatchVersion>
36+
+ <LatestAspNetCoreAppPatchVersion Condition="'$(_TargetFrameworkVersionWithoutV)' == '2.2'">$(LatestPatchVersionForAspNetCoreApp2_2)</LatestAspNetCoreAppPatchVersion>
37+
38+
<!-- If targeting the same release that is bundled with the .NET Core SDK, use the bundled package version
39+
provided by Microsoft.NETCoreSdk.BundledVersions.props -->
40+
- <LatestAspNetCoreAppPatchVersion Condition="'$(_TargetFrameworkVersionWithoutV)' == '$(BundledAspNetCoreAppTargetFrameworkVersion)'">$(BundledAspNetCoreAppPackageVersion)</LatestAspNetCoreAppPatchVersion>
41+
+ <LatestAspNetCoreAppPatchVersion Condition="'$(_TargetFrameworkVersionWithoutV)' == '$(BundledAspNetCoreAppTargetFrameworkVersion)' AND '$(LatestAspNetCoreAppPatchVersion)' == ''">$(BundledAspNetCoreAppPackageVersion)</LatestAspNetCoreAppPatchVersion>
42+
<!-- If not covered by the previous cases use the target framework version for the latest patch version -->
43+
<LatestAspNetCoreAppPatchVersion Condition="'$(LatestAspNetCoreAppPatchVersion)' == ''">$(_TargetFrameworkVersionWithoutV)</LatestAspNetCoreAppPatchVersion>
44+
</PropertyGroup>
45+
--
46+
2.17.1.windows.2
47+

repos/cli.proj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
<BuildCommandArgs>$(BuildCommandArgs) /p:UsePortableLinuxSharedFramework=false</BuildCommandArgs>
2424
<BuildCommandArgs>$(BuildCommandArgs) /p:IncludeSharedFrameworksForBackwardsCompatibilityTests=false</BuildCommandArgs>
2525
<BuildCommandArgs>$(BuildCommandArgs) /p:IncludeMSBuildSdkResolver=false</BuildCommandArgs>
26+
<BuildCommandArgs>$(BuildCommandArgs) /p:DefaultTargetLatestAspNetCoreRuntimePatch=true</BuildCommandArgs>
2627

2728
<BuildCommandArgs Condition="'$(OS)' == 'Windows_NT'">$(BuildCommandArgs) '/p:CLITargets=\&quot;\&quot;\&quot;Prepare;Compile;Package\&quot;\&quot;\&quot;'</BuildCommandArgs>
2829
<BuildCommandArgs Condition="'$(OS)' != 'Windows_NT'">$(BuildCommandArgs) '/p:CLITargets=&quot;Prepare;Compile;Package&quot;'</BuildCommandArgs>
@@ -49,7 +50,7 @@
4950
Microsoft.AspNetCore.All;
5051
Microsoft.AspNetCore.App;
5152
Microsoft.NET.Sdk.Razor"
52-
Version="2.1.0" />
53+
Version="2.1.1" />
5354
</ItemGroup>
5455

5556
<ItemGroup>

repos/dir.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
<EnvironmentVariables Include="DotNetCoreSdkDir=$(DotNetCliToolDir)" />
5454
<EnvironmentVariables Include="DotNetBuildToolsDir=$(ProjectDir)Tools/" />
5555
<EnvironmentVariables Include="StabilizePackageVersion=$(UseStableVersions)" Condition="'$(UseStableVersions)' != ''" />
56+
<EnvironmentVariables Include="PB_IsStable=$(UseStableVersions)" Condition="'$(UseStableVersions)' != ''" />
5657
<EnvironmentVariables Include="PackageVersionStamp=$(VersionStamp)" Condition="'$(VersionStamp)' != ''" />
5758

5859
<!-- Turn off node reuse for source build because repos use conflicting versions

repos/sdk.proj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))/dir.props" />
44
<PropertyGroup>
5-
<OfficialBuildId>20180606.1</OfficialBuildId>
5+
<OfficialBuildId>20180613.3</OfficialBuildId>
66
<OutputVersionArgs>/p:BUILD_BUILDNUMBER=$(OfficialBuildId)</OutputVersionArgs>
77
<BuildCommandArgs>--pack --configuration $(Configuration) $(OutputVersionArgs)</BuildCommandArgs>
88

src/websdk

0 commit comments

Comments
 (0)