Skip to content

Commit 3c413f8

Browse files
authored
[MTG] Update target framework to net10.0 (#9100)
# Summary The focus of these changes is to bump to the .NET 10 runtime target.
1 parent a5255d2 commit 3c413f8

File tree

5 files changed

+17
-3
lines changed

5 files changed

+17
-3
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sdk": {
3-
"version": "9.0.102",
3+
"version": "10.0.100",
44
"rollForward": "feature"
55
}
66
}

packages/http-client-csharp/eng/pipeline/publish.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,13 @@ extends:
6262
inputs:
6363
displayName: "Install .NET 9"
6464
performMultiLevelLookup: true
65+
useGlobalJson: false
66+
version: 9.x
67+
workingDirectory: $(Build.SourcesDirectory)/packages/http-client-csharp
68+
- task: UseDotNet@2
69+
inputs:
70+
displayName: "Install .NET 10"
71+
performMultiLevelLookup: true
6572
useGlobalJson: true
6673
workingDirectory: $(Build.SourcesDirectory)/packages/http-client-csharp
6774

packages/http-client-csharp/eng/pipeline/templates/ci-stages.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,12 @@ stages:
5050
inputs:
5151
displayName: "Install .NET 9"
5252
performMultiLevelLookup: true
53+
useGlobalJson: false
54+
version: 9.x
55+
workingDirectory: $(Build.SourcesDirectory)/packages/http-client-csharp
56+
- task: UseDotNet@2
57+
inputs:
58+
displayName: "Install .NET 10"
59+
performMultiLevelLookup: true
5360
useGlobalJson: true
5461
workingDirectory: $(Build.SourcesDirectory)/packages/http-client-csharp

packages/http-client-csharp/generator/Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
<PropertyGroup>
1313
<Nullable>enable</Nullable>
14-
<TargetFramework Condition="'$(IsGeneratedTestProject)' != true">net9.0</TargetFramework>
14+
<TargetFramework Condition="'$(IsGeneratedTestProject)' != true">net10.0</TargetFramework>
1515
<Configuration Condition="'$(Configuration)' == ''">Debug</Configuration>
1616
<Platform Condition="'$(Platform)' == ''">AnyCPU</Platform>
1717
<PlatformName Condition="'$(PlatformName)' == ''">$(Platform)</PlatformName>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sdk": {
3-
"version": "9.0.306",
3+
"version": "10.0.100",
44
"rollForward": "feature"
55
}
66
}

0 commit comments

Comments
 (0)