Skip to content

Commit 67354a2

Browse files
authored
Upgrade to net7.0 and remove target frameworks (dotnet#58011)
* Remove EOL tfms and upgrade to net7.0 * Make linker tests net7 aware Make installer tests run on net7.0 Don't attempt to use live apphost Fix payloads Regenerate test files Fix package testing
1 parent 2e93ebb commit 67354a2

File tree

365 files changed

+1707
-992
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

365 files changed

+1707
-992
lines changed

Directory.Build.props

+17-8
Original file line numberDiff line numberDiff line change
@@ -41,18 +41,27 @@
4141

4242
<!-- The TFMs to build and test against. -->
4343
<PropertyGroup>
44-
<NetCoreAppCurrentVersion>$(PreviousReleaseMajorVersion).$(MinorVersion)</NetCoreAppCurrentVersion>
45-
<AspNetCoreAppCurrentVersion>6.0</AspNetCoreAppCurrentVersion>
46-
<NetCoreAppToolCurrentVersion>6.0</NetCoreAppToolCurrentVersion>
44+
<NetCoreAppCurrentVersion>7.0</NetCoreAppCurrentVersion>
4745
<NetCoreAppCurrentIdentifier>.NETCoreApp</NetCoreAppCurrentIdentifier>
4846
<NetCoreAppCurrentTargetFrameworkMoniker>$(NetCoreAppCurrentIdentifier),Version=v$(NetCoreAppCurrentVersion)</NetCoreAppCurrentTargetFrameworkMoniker>
47+
<MicrosoftNetCoreAppFrameworkName>Microsoft.NETCore.App</MicrosoftNetCoreAppFrameworkName>
48+
<NetCoreAppCurrentBrandName>.NET $(NetCoreAppCurrentVersion)</NetCoreAppCurrentBrandName>
4949
<NetCoreAppCurrent>net$(NetCoreAppCurrentVersion)</NetCoreAppCurrent>
50-
<NetCoreAppMinimum>netcoreapp3.1</NetCoreAppMinimum>
51-
<AspNetCoreAppCurrent>net$(AspNetCoreAppCurrentVersion)</AspNetCoreAppCurrent>
50+
<NetCoreAppMinimum>net6.0</NetCoreAppMinimum>
51+
52+
<NetCoreAppToolCurrentVersion>6.0</NetCoreAppToolCurrentVersion>
5253
<NetCoreAppToolCurrent>net$(NetCoreAppToolCurrentVersion)</NetCoreAppToolCurrent>
5354
<NetCoreAppCurrentToolTargetFrameworkMoniker>$(NetCoreAppCurrentIdentifier),Version=v$(NetCoreAppToolCurrentVersion)</NetCoreAppCurrentToolTargetFrameworkMoniker>
54-
<MicrosoftNetCoreAppFrameworkName>Microsoft.NETCore.App</MicrosoftNetCoreAppFrameworkName>
55-
<NetCoreAppCurrentBrandName>.NET $(NetCoreAppCurrentVersion)</NetCoreAppCurrentBrandName>
55+
56+
<NetCoreAppLatestStableVersion>5.0</NetCoreAppLatestStableVersion>
57+
<NetCoreAppLatestStablePackageBaselineVersion>$(NetCoreAppLatestStableVersion).0</NetCoreAppLatestStablePackageBaselineVersion>
58+
<NetCoreAppLatestStable>net$(NetCoreAppLatestStableVersion)</NetCoreAppLatestStable>
59+
60+
<AspNetCoreAppCurrentVersion>6.0</AspNetCoreAppCurrentVersion>
61+
<AspNetCoreAppCurrent>net$(AspNetCoreAppCurrentVersion)</AspNetCoreAppCurrent>
62+
63+
<NetFrameworkMinimum>net462</NetFrameworkMinimum>
64+
<NetFrameworkToolCurrent>net472</NetFrameworkToolCurrent>
5665
</PropertyGroup>
5766

5867
<PropertyGroup>
@@ -82,7 +91,7 @@
8291
<ILStripTaskDir>$([MSBuild]::NormalizeDirectory('$(ArtifactsBinDir)', 'ILStrip', 'Debug', '$(NetCoreAppToolCurrent)'))</ILStripTaskDir>
8392

8493
<InstallerTasksAssemblyPath Condition="'$(MSBuildRuntimeType)' == 'Core'">$([MSBuild]::NormalizePath('$(ArtifactsBinDir)', 'installer.tasks', 'Debug', '$(NetCoreAppToolCurrent)', 'installer.tasks.dll'))</InstallerTasksAssemblyPath>
85-
<InstallerTasksAssemblyPath Condition="'$(MSBuildRuntimeType)' != 'Core'">$([MSBuild]::NormalizePath('$(ArtifactsBinDir)', 'installer.tasks', 'Debug', 'net461', 'installer.tasks.dll'))</InstallerTasksAssemblyPath>
94+
<InstallerTasksAssemblyPath Condition="'$(MSBuildRuntimeType)' != 'Core'">$([MSBuild]::NormalizePath('$(ArtifactsBinDir)', 'installer.tasks', 'Debug', '$(NetFrameworkToolCurrent)', 'installer.tasks.dll'))</InstallerTasksAssemblyPath>
8695
<Crossgen2SdkOverridePropsPath Condition="'$(MSBuildRuntimeType)' == 'Core'">$([MSBuild]::NormalizePath('$(ArtifactsBinDir)', 'Crossgen2Tasks', 'Debug', '$(NetCoreAppToolCurrent)', 'Microsoft.NET.CrossGen.props'))</Crossgen2SdkOverridePropsPath>
8796
<Crossgen2SdkOverrideTargetsPath Condition="'$(MSBuildRuntimeType)' == 'Core'">$([MSBuild]::NormalizePath('$(ArtifactsBinDir)', 'Crossgen2Tasks', 'Debug', '$(NetCoreAppToolCurrent)', 'Microsoft.NET.CrossGen.targets'))</Crossgen2SdkOverrideTargetsPath>
8897
<AppleAppBuilderTasksAssemblyPath>$([MSBuild]::NormalizePath('$(AppleAppBuilderDir)', 'AppleAppBuilder.dll'))</AppleAppBuilderTasksAssemblyPath>

docs/coding-guidelines/adding-api-guidelines.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ the implementation without compat concerns in future releases.
2424

2525
### Determine target framework
2626

27-
`net5.0` is the target framework version currently under development and the new apis
28-
should be added to `net5.0`. [More Information on TargetFrameworks](https://docs.microsoft.com/en-us/dotnet/standard/frameworks)
27+
`net7.0` is the target framework version currently under development and the new apis
28+
should be added to `net7.0`. [More Information on TargetFrameworks](https://docs.microsoft.com/en-us/dotnet/standard/frameworks)
2929

3030
## Making the changes in repo
3131

docs/coding-guidelines/project-guidelines.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Pure netstandard configuration:
5252
All supported targets with unique windows/unix build for netcoreapp:
5353
```
5454
<PropertyGroup>
55-
<TargetFrameworks>$(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent)-Unix;net461-windows</TargetFrameworks>
55+
<TargetFrameworks>$(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent)-Unix;$(NetFrameworkCurrent)-windows</TargetFrameworks>
5656
<PropertyGroup>
5757
```
5858

@@ -108,7 +108,7 @@ Example:
108108
Example:
109109
```
110110
<PropertyGroup>
111-
<TargetFrameworks>netstandard2.0;net461;net472;net5.0</TargetFrameworks>
111+
<TargetFrameworks>netstandard2.0;net462;net472;net5.0</TargetFrameworks>
112112
</PropertyGroup>
113113
<ItemGroup Condition="!$(TargetFramework.StartsWith('net4'))>...</ItemGroup>
114114
<ItemGroup Condition="'$(TargetFramework)' != 'netstandard2.0'">...</ItemGroup>
@@ -141,15 +141,15 @@ In the src directory for a library there should be only **one** `.csproj` file t
141141

142142
All libraries should use `<Reference Include="..." />` for all their references to libraries that compose the shared framework of the current .NETCoreApp. That will cause them to be resolved against the locally built targeting pack which is located at `artifacts\bin\microsoft.netcore.app.ref`. The only exception to that rule right now is for partial facades which directly reference System.Private.CoreLib and thus need to directly reference other partial facades to avoid type conflicts.
143143

144-
Other target frameworks than .NETCoreApp latest (i.e. `netstandard2.0`, `net461`, `netcoreapp3.0`) should use ProjectReference items to reference dependencies.
144+
Other target frameworks than .NETCoreApp latest (i.e. `netstandard2.0`, `net462`, `net6.0`) should use ProjectReference items to reference dependencies.
145145

146146
### src\ILLink
147147
Contains the files used to direct the trimming tool. See [ILLink files](../workflow/trimming/ILLink-files.md).
148148

149149
### src output
150150
All src outputs are under
151151

152-
`bin\$(MSBuildProjectName)\$(TargetFramework)`
152+
`artifacts\bin\$(MSBuildProjectName)\$(TargetFramework)`
153153

154154
## tests
155155
Similar to the src projects tests projects will define a `TargetFrameworks` property so they can list out the set of target frameworks they support.

docs/workflow/building/libraries/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ The libraries build has two logical components, the native build which produces
7474

7575
The build settings (BuildTargetFramework, TargetOS, Configuration, Architecture) are generally defaulted based on where you are building (i.e. which OS or which architecture) but we have a few shortcuts for the individual properties that can be passed to the build scripts:
7676

77-
- `-framework|-f` identifies the target framework for the build. Possible values include `net5.0` (currently the latest .NET version) or `net48` (the latest .NETFramework version). (msbuild property `BuildTargetFramework`)
77+
- `-framework|-f` identifies the target framework for the build. Possible values include `net7.0` (currently the latest .NET version) or `net48` (the latest .NETFramework version). (msbuild property `BuildTargetFramework`)
7878
- `-os` identifies the OS for the build. It defaults to the OS you are running on but possible values include `windows`, `Unix`, `Linux`, or `OSX`. (msbuild property `TargetOS`)
7979
- `-configuration|-c Debug|Release` controls the optimization level the compilers use for the build. It defaults to `Debug`. (msbuild property `Configuration`)
8080
- `-arch` identifies the architecture for the build. It defaults to `x64` but possible values include `x64`, `x86`, `arm`, or `arm64`. (msbuild property `TargetArchitecture`)

docs/workflow/testing/libraries/testing.md

+1-4
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,4 @@ dotnet build /t:Test /p:Outerloop=true
101101

102102
### Running tests on a different target framework
103103

104-
Each test project can potentially have multiple target frameworks. There are some tests that might be OS-specific, or might be testing an API that is available only on some target frameworks, so the `TargetFrameworks` property specifies the valid target frameworks. By default we will build and run only the default build target framework which is `net5.0`. The rest of the `TargetFrameworks` will need to be built and ran by specifying the `BuildTargetFramework` option, e.g.:
105-
```cmd
106-
dotnet build src\libraries\System.Runtime\tests\System.Runtime.Tests.csproj /p:BuildTargetFramework=net472
107-
```
104+
Each test project can potentially have multiple target frameworks. There are some tests that might be OS-specific, or might be testing an API that is available only on some target frameworks, so the `TargetFrameworks` property specifies the valid target frameworks.

eng/BeforeTargetFrameworkInference.targets

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup Condition="$(TargetFramework.Contains('-'))">
44
<_OriginalTargetFramework>$(TargetFramework)</_OriginalTargetFramework>
55
<TargetFrameworkSuffix>$(TargetFramework.SubString($([MSBuild]::Add($(TargetFramework.IndexOf('-')), 1))))</TargetFrameworkSuffix>
6-
<!-- Strip away the TargetPlatform during the build for frameworks older than net5.0 because the assets file does not know about the TargetPlatform -->
6+
<!-- Strip away the TargetPlatform during the build for non .NETCoreApp frameworks because the assets file does not know about the TargetPlatform. -->
77
<TargetFramework>$([System.Text.RegularExpressions.Regex]::Replace('$(TargetFramework)', '$(TargetFrameworkPattern)', '${1}'))</TargetFramework>
88
</PropertyGroup>
99

eng/Versions.props

+1-2
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,9 @@
99
<SdkBandVersion>6.0.100</SdkBandVersion>
1010
<PreReleaseVersionLabel>alpha</PreReleaseVersionLabel>
1111
<PreReleaseVersionIteration>1</PreReleaseVersionIteration>
12-
<PreviousReleaseMajorVersion>6</PreviousReleaseMajorVersion>
1312
<!-- Set assembly version to align with major and minor version,
1413
as for the patches and revisions should be manually updated per assembly if it is serviced. -->
15-
<AssemblyVersion>$(PreviousReleaseMajorVersion).$(MinorVersion).0.0</AssemblyVersion>
14+
<AssemblyVersion>$(MajorVersion).$(MinorVersion).0.0</AssemblyVersion>
1615
<!-- Enable to remove prerelease label. -->
1716
<StabilizePackageVersion Condition="'$(StabilizePackageVersion)' == ''">false</StabilizePackageVersion>
1817
<DotNetFinalVersionKind Condition="'$(StabilizePackageVersion)' == 'true'">release</DotNetFinalVersionKind>

eng/build.ps1

+2-2
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ function Get-Help() {
7272
Write-Host "Libraries settings:"
7373
Write-Host " -allconfigurations Build packages for all build configurations."
7474
Write-Host " -coverage Collect code coverage when testing."
75-
Write-Host " -framework (-f) Build framework: net6.0 or net48."
76-
Write-Host " [Default: net6.0]"
75+
Write-Host " -framework (-f) Build framework: net7.0 or net48."
76+
Write-Host " [Default: net7.0]"
7777
Write-Host " -testnobuild Skip building tests when invoking -test."
7878
Write-Host " -testscope Scope tests, allowed values: innerloop, outerloop, all."
7979
Write-Host ""

eng/build.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ usage()
6262
echo "Libraries settings:"
6363
echo " --allconfigurations Build packages for all build configurations."
6464
echo " --coverage Collect code coverage when testing."
65-
echo " --framework (-f) Build framework: net6.0 or net48."
66-
echo " [Default: net6.0]"
65+
echo " --framework (-f) Build framework: net7.0 or net48."
66+
echo " [Default: net7.0]"
6767
echo " --testnobuild Skip building tests when invoking -test."
6868
echo " --testscope Test scope, allowed values: innerloop, outerloop, all."
6969
echo ""

eng/docker/libraries-sdk-aspnetcore.linux.Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ RUN ./src/coreclr/build.sh -release -skiptests -clang9 && \
1414
FROM $SDK_BASE_IMAGE as target
1515

1616
ARG TESTHOST_LOCATION=/repo/artifacts/bin/testhost
17-
ARG TFM=net6.0
17+
ARG TFM=net7.0
1818
ARG OS=Linux
1919
ARG ARCH=x64
2020
ARG CONFIGURATION=Release

eng/docker/libraries-sdk-aspnetcore.windows.Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ARG SDK_BASE_IMAGE=mcr.microsoft.com/dotnet/nightly/sdk:6.0-nanoserver-1809
44
FROM $SDK_BASE_IMAGE as target
55

66
ARG TESTHOST_LOCATION=".\\artifacts\\bin\\testhost"
7-
ARG TFM=net6.0
7+
ARG TFM=net7.0
88
ARG OS=windows
99
ARG ARCH=x64
1010
ARG CONFIGURATION=Release

eng/docker/libraries-sdk.linux.Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ RUN ./build.sh -ci -subset clr+libs -runtimeconfiguration release -c $CONFIGURAT
1313
FROM $SDK_BASE_IMAGE as target
1414

1515
ARG TESTHOST_LOCATION=/repo/artifacts/bin/testhost
16-
ARG TFM=net6.0
16+
ARG TFM=net7.0
1717
ARG OS=Linux
1818
ARG ARCH=x64
1919
ARG CONFIGURATION=Release

eng/docker/libraries-sdk.windows.Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ARG SDK_BASE_IMAGE=mcr.microsoft.com/dotnet/nightly/sdk:6.0-nanoserver-1809
44
FROM $SDK_BASE_IMAGE as target
55

66
ARG TESTHOST_LOCATION=".\\artifacts\\bin\\testhost"
7-
ARG TFM=net6.0
7+
ARG TFM=net7.0
88
ARG OS=windows
99
ARG ARCH=x64
1010
ARG CONFIGURATION=Release

eng/packaging.targets

+14-7
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<EnablePackageValidation>true</EnablePackageValidation>
55
<!-- Don't restore prebuilt packages during sourcebuild. -->
66
<DisablePackageBaselineValidation Condition="'$(DotNetBuildFromSource)' == 'true'">true</DisablePackageBaselineValidation>
7-
<PackageValidationBaselineVersion Condition="'$(PackageValidationBaselineVersion)' == ''">$([MSBuild]::Subtract($(PreviousReleaseMajorVersion), 1)).0.0</PackageValidationBaselineVersion>
7+
<PackageValidationBaselineVersion Condition="'$(PackageValidationBaselineVersion)' == ''">$(NetCoreAppLatestStablePackageBaselineVersion)</PackageValidationBaselineVersion>
88
<!-- PackDependsOn is the right hook in a targets file if the NuGet.Build.Tasks.Pack nuget package is used, otherwise
99
BeforePack must be used. Setting both to ensure that we are always running before other targets. -->
1010
<PackDependsOn>AddNETStandardCompatErrorFileForPackaging;IncludeAnalyzersInPackage;$(PackDependsOn)</PackDependsOn>
@@ -14,7 +14,7 @@
1414
<TargetsForTfmSpecificDebugSymbolsInPackage>$(TargetsForTfmSpecificDebugSymbolsInPackage);AddRuntimeSpecificSymbolToPackage</TargetsForTfmSpecificDebugSymbolsInPackage>
1515
<IncludeBuildOutput Condition="'$(TargetsAnyOS)' != 'true' or '$(ExcludeFromPackage)' == 'true'">false</IncludeBuildOutput>
1616
<!-- Don't include target platform specific dependencies, since we use the target platform to represent RIDs instead -->
17-
<SuppressDependenciesWhenPacking Condition="'$(ExcludeFromPackage)' == 'true' or ('$(TargetsAnyOS)' != 'true' and $([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net5.0')))">true</SuppressDependenciesWhenPacking>
17+
<SuppressDependenciesWhenPacking Condition="'$(ExcludeFromPackage)' == 'true' or ('$(TargetFrameworkIdentifier)' == '.NETCoreApp' and '$(TargetPlatformIdentifier)' != '')">true</SuppressDependenciesWhenPacking>
1818
<PackageDesignerMarkerFile>$(MSBuildThisFileDirectory)useSharedDesignerContext.txt</PackageDesignerMarkerFile>
1919
<!-- Generate packages for rid specific projects or for allconfigurations during build. -->
2020
<!-- A package isn't generated if in servicing or in runtimelab. Intended to be overridden at project level. -->
@@ -53,7 +53,7 @@
5353

5454
<ItemGroup Condition="'$(AddNETFrameworkAssemblyReferenceToPackage)' == 'true'">
5555
<_FrameworkAssemblyReferences Include="$(MSBuildProjectName)"
56-
TargetFramework="net461" />
56+
TargetFramework="$(NetFrameworkMinimum)" />
5757
</ItemGroup>
5858

5959
<Choose>
@@ -63,8 +63,8 @@
6363
<NoWarn>$(NoWarn);NU5128</NoWarn>
6464
</PropertyGroup>
6565
<ItemGroup Condition="'$(AddNETFrameworkPlaceholderFileToPackage)' == 'true'">
66-
<None Include="$(PlaceholderFile)" PackagePath="lib/net461" Pack="true" />
67-
<None Include="$(PlaceholderFile)" PackagePath="runtimes/win/lib/net461" Pack="true" Condition="$(TargetFrameworks.Contains('netstandard2.0-windows'))" />
66+
<None Include="$(PlaceholderFile)" PackagePath="lib/$(NetFrameworkMinimum)" Pack="true" />
67+
<None Include="$(PlaceholderFile)" PackagePath="runtimes/win/lib/$(NetFrameworkMinimum)" Pack="true" Condition="$(TargetFrameworks.Contains('netstandard2.0-windows'))" />
6868
</ItemGroup>
6969
<ItemGroup Condition="'$(AddXamarinPlaceholderFilesToPackage)' == 'true'">
7070
<None Include="$(PlaceholderFile)" PackagePath="lib\MonoAndroid10" Pack="true" />
@@ -153,11 +153,18 @@
153153
<!-- Include a netstandard compat error if the project targets both .NETStandard and
154154
.NETCoreApp. This prohibits users to consume packages on an older .NETCoreApp version
155155
than the minimum supported one. -->
156-
<ItemGroup Condition="'$(DisableNETStandardCompatErrorForNETCoreApp)' != 'true'">
156+
<ItemGroup>
157157
<NETStandardCompatError Include="netcoreapp2.0"
158158
Supported="$(NetCoreAppMinimum)"
159159
Condition="$(TargetFrameworks.Contains('netstandard2.')) and
160-
($(TargetFrameworks.Contains('$(NetCoreAppMinimum)')) or $(TargetFrameworks.Contains('$(NetCoreAppCurrent)')))" />
160+
($(TargetFrameworks.Contains('$(NetCoreAppMinimum)')) or $(TargetFrameworks.Contains('$(NetCoreAppCurrent)'))) and
161+
'$(DisableNETStandardCompatErrorForNETCoreApp)' != 'true'" />
162+
<NETStandardCompatError Include="net461"
163+
Supported="$(NetFrameworkMinimum)"
164+
Condition="$(TargetFrameworks.Contains('netstandard2.0')) and
165+
($(TargetFrameworks.Contains('$(NetFrameworkMinimum)')) or $(TargetFrameworks.Contains('net47')) or $(TargetFrameworks.Contains('net48'))) and
166+
'$(DisableNETStandardCompatErrorForNETFramework)' != 'true'" />
167+
161168
</ItemGroup>
162169

163170
<!-- Add targets file that marks a .NETStandard applicable tfm as unsupported. -->

eng/pipelines/coreclr/templates/crossgen2-comparison-build-job.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
- name: crossgen2location
8181
value: $(productDirectory)$(dir)$(targetFlavor)$(dir)x64$(dir)crossgen2$(dir)crossgen2.dll
8282
- name: librariesProductDllDir
83-
value: $(Build.SourcesDirectory)$(dir)artifacts$(dir)bin$(dir)runtime$(dir)net6.0-$(osGroup)$(osSubgroup)-$(buildConfig)-$(archType)
83+
value: $(Build.SourcesDirectory)$(dir)artifacts$(dir)bin$(dir)runtime$(dir)net7.0-$(osGroup)$(osSubgroup)-$(buildConfig)-$(archType)
8484

8585
- ${{ parameters.variables }}
8686

eng/pipelines/coreclr/templates/perf-job.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ parameters:
55
osSubgroup: ''
66
container: ''
77
runtimeVariant: ''
8-
framework: net6.0 # Specify the appropriate framework when running release branches (ie netcoreapp3.0 for release/3.0)
8+
framework: net7.0 # Specify the appropriate framework when running release branches (ie net6.0 for release/6.0)
99
liveLibrariesBuildConfig: ''
1010
variables: {}
1111
runtimeType: 'coreclr'

eng/pipelines/libraries/base-job.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ parameters:
55
osSubgroup: ''
66
crossBuild: false
77
crossrootfsDir: ''
8-
framework: 'net6.0'
8+
framework: 'net7.0'
99
isOfficialAllConfigurations: false
1010
isSourceBuild: false
1111
liveRuntimeBuildConfig: ''

eng/pipelines/libraries/build-job.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ parameters:
66
targetRid: ''
77
crossBuild: false
88
crossrootfsDir: ''
9-
framework: 'net6.0'
9+
framework: 'net7.0'
1010
isOfficialBuild: false
1111
isOfficialAllConfigurations: false
1212
runtimeVariant: ''

eng/pipelines/libraries/run-test-job.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ parameters:
44
osSubgroup: ''
55
archType: ''
66
targetRid: ''
7-
framework: 'net6.0'
7+
framework: 'net7.0'
88
isOfficialBuild: false
99
liveRuntimeBuildConfig: ''
1010
runtimeFlavor: 'coreclr'

0 commit comments

Comments
 (0)