Skip to content

Commit 09f5003

Browse files
authored
upgrade stage 0 and unwind a few steps that were done for the 9.0 upg… (#36437)
2 parents e5ead6c + 7e322c9 commit 09f5003

File tree

24 files changed

+24
-95
lines changed

24 files changed

+24
-95
lines changed

Directory.Build.props

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
<IncludeSymbols>true</IncludeSymbols>
1313
<IsShippingPackage>false</IsShippingPackage>
1414
<SdkTargetFramework>net9.0</SdkTargetFramework>
15+
<!-- Remove when Arcade TargetFrameworkDefaults point to net9.0. -->
16+
<NetToolCurrent Condition="'$(DotNetBuildFromSource)' == 'true'">$(SdkTargetFramework)</NetToolCurrent>
1517
<!-- Temporarily disable build warnings while upgrading to the net9.0 TFM -->
1618
<SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings>
1719
<ToolsetTargetFramework>$(SdkTargetFramework)</ToolsetTargetFramework>

build/RunTestsOnHelix.cmd

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ set DOTNET_ROOT=%HELIX_CORRELATION_PAYLOAD%\d
99
set PATH=%DOTNET_ROOT%;%PATH%
1010
set DOTNET_MULTILEVEL_LOOKUP=0
1111
set TestFullMSBuild=%1
12-
set DOTNET_ROLL_FORWARD=Major
13-
set DOTNET_ROLL_FORWARD_TO_PRERELEASE=1
1412

1513
set TestExecutionDirectory=%CD%\testExecutionDirectory
1614
mkdir %TestExecutionDirectory%

build/RunTestsOnHelix.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ export DOTNET_SDK_TEST_EXECUTION_DIRECTORY=$TestExecutionDirectory
1818
export DOTNET_SDK_TEST_MSBUILDSDKRESOLVER_FOLDER=$HELIX_CORRELATION_PAYLOAD/r
1919
export DOTNET_SDK_TEST_ASSETS_DIRECTORY=$TestExecutionDirectory/Assets
2020

21-
export DOTNET_ROLL_FORWARD=Major
22-
export DOTNET_ROLL_FORWARD_TO_PRERELEASE=1
23-
2421
# call dotnet new so the first run message doesn't interfere with the first test
2522
dotnet new --debug:ephemeral-hive
2623

eng/SourceBuildPrebuiltBaseline.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,5 @@
3737
<UsagePattern IdentityGlob="Microsoft.NET.HostModel/*8.0.0*" />
3838
<UsagePattern IdentityGlob="Microsoft.Extensions.DependencyModel/*8.0.0*" />
3939
<UsagePattern IdentityGlob="Microsoft.Bcl.AsyncInterfaces/*8.0.0*" />
40-
41-
<!-- in trying to unblock main, we have an older 8.0 ref pack for the moment -->
42-
<UsagePattern IdentityGlob="Microsoft.AspNetCore.App.Ref/*8.0.0*" />
43-
<UsagePattern IdentityGlob="Microsoft.NETCore.App.Ref/*8.0.0*" />
4440
</IgnorePatterns>
4541
</UsageData>

eng/restore-toolset.ps1

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ function InitializeCustomSDKToolset {
2626
InstallDotNetSharedFramework "5.0.0"
2727
InstallDotNetSharedFramework "6.0.0"
2828
InstallDotNetSharedFramework "7.0.0"
29-
InstallDotNetSharedFramework "8.0.0-preview.7.23375.6"
30-
InstallDotNetSharedFramework "8.0.0-rc.2.23457.7"
29+
InstallDotNetSharedFramework "8.0.0-rc.2.23479.6"
3130

3231
CreateBuildEnvScripts
3332
CreateVSShortcut

eng/restore-toolset.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ function InitializeCustomSDKToolset {
2727
InstallDotNetSharedFramework "5.0.0"
2828
InstallDotNetSharedFramework "6.0.0"
2929
InstallDotNetSharedFramework "7.0.0"
30-
InstallDotNetSharedFramework "8.0.0-preview.7.23375.6"
31-
InstallDotNetSharedFramework "8.0.0-rc.2.23457.7"
30+
InstallDotNetSharedFramework "8.0.0-rc.2.23479.6"
3231

3332
CreateBuildEnvScript
3433
}

global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"tools": {
3-
"dotnet": "9.0.100-alpha.1.23511.2",
3+
"dotnet": "9.0.100-alpha.1.23524.3",
44
"runtimes": {
55
"dotnet": [
66
"$(VSRedistCommonNetCoreSharedFrameworkx6490PackageVersion)"

src/Compatibility/ApiCompat/Microsoft.DotNet.ApiCompat.Task/Microsoft.DotNet.ApiCompat.Task.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net8.0;net472</TargetFrameworks>
4+
<TargetFrameworks>$(NetToolCurrent);$(NetFrameworkToolCurrent)</TargetFrameworks>
55
<IsPackable>true</IsPackable>
66
<IsShippingPackage>true</IsShippingPackage>
77
<IncludeBuildOutput>false</IncludeBuildOutput>

src/Compatibility/ApiCompat/Microsoft.DotNet.ApiCompat.Task/build/Microsoft.DotNet.ApiCompat.Task.targets

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. -->
22
<Project>
3+
34
<PropertyGroup>
45
<DotNetApiCompatTaskAssembly Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.DotNet.ApiCompat.Task.dll</DotNetApiCompatTaskAssembly>
5-
<DotNetApiCompatTaskAssembly Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\net8.0\Microsoft.DotNet.ApiCompat.Task.dll</DotNetApiCompatTaskAssembly>
6+
<DotNetApiCompatTaskAssembly Condition="'$(MSBuildRuntimeType)' == 'Core' and Exists('$(MSBuildThisFileDirectory)..\tools\net9.0\Microsoft.DotNet.ApiCompat.Task.dll')">$(MSBuildThisFileDirectory)..\tools\net9.0\Microsoft.DotNet.ApiCompat.Task.dll</DotNetApiCompatTaskAssembly>
7+
<DotNetApiCompatTaskAssembly Condition="'$(MSBuildRuntimeType)' == 'Core' and '$(DotNetApiCompatTaskAssembly)' == ''">$(MSBuildThisFileDirectory)..\tools\net8.0\Microsoft.DotNet.ApiCompat.Task.dll</DotNetApiCompatTaskAssembly>
68
<UseApiCompatPackage>true</UseApiCompatPackage>
79
<!-- TODO: Remove when the consumers of this package upgraded to a newer SDK with this change. -->
810
<UseCompatibilityPackage>true</UseCompatibilityPackage>
@@ -16,4 +18,5 @@
1618
<Import Project="Microsoft.DotNet.ApiCompat.ValidateAssemblies.NonCrossTargeting.targets" Condition="'$(IsCrossTargetingBuild)' != 'true'" />
1719
<Import Project="Microsoft.DotNet.ApiCompat.ValidateAssemblies.CrossTargeting.targets" Condition="'$(IsCrossTargetingBuild)' == 'true'" />
1820
</ImportGroup>
21+
1922
</Project>

src/Compatibility/ApiCompat/Microsoft.DotNet.ApiCompat.Tool/Microsoft.DotNet.ApiCompat.Tool.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>$(NetToolCurrent)</TargetFramework>
55
<OutputType>Exe</OutputType>
66
<IsPackable>true</IsPackable>
77
<IsShippingPackage>true</IsShippingPackage>

0 commit comments

Comments
 (0)