Skip to content

Commit d45ff57

Browse files
Update BuildConfigGenerator to target .NET8 (#19378)
* Update BuildConfigGenerator to target .NET6 - Updated Generator to .net 8 - Added install .net 8 step * Update BuildConfigGenerator to target .NET6 - task for testing, will be reverted * Revert "Update BuildConfigGenerator to target .NET6" This reverts commit 1a91ffa.
1 parent afd241c commit d45ff57

File tree

6 files changed

+23
-5
lines changed

6 files changed

+23
-5
lines changed

BuildConfigGen/BuildConfigGen.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net7.0</TargetFramework>
5+
<TargetFramework>net8.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
88
<WarningsAsErrors>Nullable</WarningsAsErrors>

BuildConfigGen/dev.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ pushd "$SCRIPT_DIR"
5252
source "$SCRIPT_DIR/Misc/helpers.sh"
5353

5454
DOTNETSDK_ROOT="$SCRIPT_DIR/_dotnetsdk"
55-
DOTNETSDK_VERSION="7.0.201"
55+
DOTNETSDK_VERSION="8.0.100"
5656
DOTNETSDK_INSTALLDIR="$DOTNETSDK_ROOT/$DOTNETSDK_VERSION"
5757

5858
detect_platform_and_runtime_id

ci/build-all-steps.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ steps:
2121
inputs:
2222
versionSpec: 10.24.1
2323

24-
# Use .NET SDK 7
24+
# Use .NET SDK 8
2525
- task: UseDotNet@2
26-
displayName: 'Install .NET Core SDK 7.x'
26+
displayName: 'Install .NET Core SDK 8.x'
2727
inputs:
28-
version: 7.x
28+
version: 8.x
2929

3030
# npm install
3131
- script: npm install

ci/build-all-tasks.yml

+6
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ steps:
99
- checkout: self
1010
clean: true
1111

12+
# Use .NET SDK 8
13+
- task: UseDotNet@2
14+
displayName: 'Install .NET Core SDK 8.x'
15+
inputs:
16+
version: 8.x
17+
1218
# Use node 10, npm 6
1319
- task: NodeTool@0
1420
displayName: Use node 10

ci/build-single-steps.yml

+6
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ steps:
1414
- powershell: ./ci/start-collect-diagnostics.ps1
1515
displayName: Start collect diagnostics
1616

17+
# Use .NET SDK 8
18+
- task: UseDotNet@2
19+
displayName: 'Install .NET Core SDK 8.x'
20+
inputs:
21+
version: 8.x
22+
1723
# Use node 10, npm 6
1824
- task: NodeTool@0
1925
displayName: Use node 10

ci/ci-test-tasks/build-task.yml

+6
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ steps:
1111
- script: node ci/patch-task-version.js --task=${{ parameters.task }} --version=${{ parameters.version }}
1212
displayName: ${{ parameters.task }} patch task version
1313

14+
# Use .NET SDK 8
15+
- task: UseDotNet@2
16+
displayName: 'Install .NET Core SDK 8.x'
17+
inputs:
18+
version: 8.x
19+
1420
# Clean
1521
- script: node make.js clean
1622
displayName: Clean tasks

0 commit comments

Comments
 (0)