Skip to content

Commit fb1f8a3

Browse files
dnenovsaintentropy
andauthored
DYN-9196: .Net10 migration (DynamoDS#16478)
Co-authored-by: Craig Long <craig.long@autodesk.com>
1 parent 6bc77bb commit fb1f8a3

File tree

2,435 files changed

+6492
-182480
lines changed

Some content is hidden

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

2,435 files changed

+6492
-182480
lines changed

.github/workflows/build_dynamo_all.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,19 @@ jobs:
2222
{
2323
"projects": ["src", "test"],
2424
"sdk": {
25-
"version": "8.0.100",
25+
"version": "10.0.100-preview.7.25380.108",
2626
"rollForward": "latestFeature"
2727
}
2828
}
2929
"@
3030
$globalJson | Out-File -FilePath ${{ github.workspace }}\Dynamo\global.json -Encoding utf8
3131
- name: Setup dotnet
32-
uses: actions/setup-dotnet@v4
32+
uses: actions/setup-dotnet@v5
3333
with:
34-
dotnet-version: '8.0.x'
34+
dotnet-version: |
35+
8.0.x
36+
9.0.x
37+
10.0.x
3538
- name: Disable problem matcher
3639
run: Write-Output "::remove-matcher owner=csc::"
3740
- name: Setup msbuild

.github/workflows/build_dynamo_core.yml

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,19 @@ jobs:
2222
{
2323
"projects": ["src", "test"],
2424
"sdk": {
25-
"version": "8.0.100",
25+
"version": "10.0.100-preview.7.25380.108",
2626
"rollForward": "latestFeature"
2727
}
2828
}
2929
"@
3030
$globalJson | Out-File -FilePath ${{ github.workspace }}\Dynamo\global.json -Encoding utf8
3131
- name: Setup dotnet
32-
uses: actions/setup-dotnet@v4
32+
uses: actions/setup-dotnet@v5
3333
with:
34-
dotnet-version: '8.0.x'
34+
dotnet-version: |
35+
8.0.x
36+
9.0.x
37+
10.0.x
3538
- name: Disable problem matcher
3639
run: Write-Output "::remove-matcher owner=csc::"
3740
- name: Setup msbuild
@@ -65,16 +68,19 @@ jobs:
6568
{
6669
"projects": ["src", "test"],
6770
"sdk": {
68-
"version": "8.0.100",
71+
"version": "10.0.100-preview.7.25380.108",
6972
"rollForward": "latestFeature"
7073
}
7174
}
7275
"@
7376
$globalJson | Out-File -FilePath ${{ github.workspace }}\Dynamo\global.json -Encoding utf8
7477
- name: Setup dotnet
75-
uses: actions/setup-dotnet@v4
78+
uses: actions/setup-dotnet@v5
7679
with:
77-
dotnet-version: '8.0.x'
80+
dotnet-version: |
81+
8.0.x
82+
9.0.x
83+
10.0.x
7884
- name: Disable problem matcher
7985
run: Write-Output "::remove-matcher owner=csc::"
8086
- name: Setup msbuild
@@ -100,9 +106,12 @@ jobs:
100106
with:
101107
path: Dynamo
102108
- name: Setup dotnet
103-
uses: actions/setup-dotnet@v4
109+
uses: actions/setup-dotnet@v5
104110
with:
105-
dotnet-version: '8.0.x'
111+
dotnet-version: |
112+
8.0.x
113+
9.0.x
114+
10.0.x
106115
- name: Disable problem matcher
107116
run: echo "::remove-matcher owner=csc::"
108117
- name: Install dependencies for linux runtime

.github/workflows/dynamo_bin_diff.yml

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,24 +23,27 @@ jobs:
2323
{
2424
"projects": ["src", "test"],
2525
"sdk": {
26-
"version": "8.0.100",
26+
"version": "10.0.100-preview.7.25380.108",
2727
"rollForward": "latestFeature"
2828
}
2929
}
3030
"@
3131
$globalJson | Out-File -FilePath ${{ github.workspace }}\Dynamo\global.json -Encoding utf8
3232
- name: Setup dotnet
33-
uses: actions/setup-dotnet@v4
33+
uses: actions/setup-dotnet@v5
3434
with:
35-
dotnet-version: '8.0.x'
35+
dotnet-version: |
36+
8.0.x
37+
9.0.x
38+
10.0.x
3639
- name: Disable problem matcher
3740
run: Write-Output "::remove-matcher owner=csc::"
3841
- name: Setup msbuild
3942
uses: microsoft/setup-msbuild@v2
4043
- name: Install dependencies for windows runtime
41-
run: dotnet restore ${{ github.workspace }}\Dynamo\src\Dynamo.All.sln /p:Configuration=Release --runtime=win-x64
44+
run: dotnet restore ${{ github.workspace }}\Dynamo\src\Dynamo.All.sln /p:Configuration=Release --runtime=win-x64 -p:DotNet=net10.0
4245
- name: Build Dynamo with MSBuild
43-
run: msbuild ${{ github.workspace }}\Dynamo\src\Dynamo.All.sln /p:Configuration=Release
46+
run: msbuild ${{ github.workspace }}\Dynamo\src\Dynamo.All.sln /p:Configuration=Release
4447
- name: Look for DynamoCLI.exe
4548
run: |
4649
Write-Output "***Locating DynamoCLI.exe!***"
@@ -79,17 +82,20 @@ jobs:
7982
"@
8083
$globalJson | Out-File -FilePath ${{ github.workspace }}\master\global.json -Encoding utf8
8184
- name: Setup dotnet
82-
uses: actions/setup-dotnet@v4
85+
uses: actions/setup-dotnet@v5
8386
with:
84-
dotnet-version: '8.0.x'
87+
dotnet-version: |
88+
8.0.x
89+
9.0.x
90+
10.0.x
8591
- name: Disable problem matcher
8692
run: Write-Output "::remove-matcher owner=csc::"
8793
- name: Setup msbuild
8894
uses: microsoft/setup-msbuild@v2
8995
- name: Install dependencies for windows runtime
90-
run: dotnet restore ${{ github.workspace }}\master\src\Dynamo.All.sln /p:Configuration=Release --runtime=win-x64
96+
run: dotnet restore ${{ github.workspace }}\master\src\Dynamo.All.sln /p:Configuration=Release --runtime=win-x64
9197
- name: Build Dynamo with MSBuild
92-
run: msbuild ${{ github.workspace }}\master\src\Dynamo.All.sln /p:Configuration=Release
98+
run: msbuild ${{ github.workspace }}\master\src\Dynamo.All.sln /p:Configuration=Release
9399
- name: Look for DynamoCLI.exe
94100
run: |
95101
Write-Output "***Locating DynamoCLI.exe!***"

src/Config/CS_SDK.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<PlatformTarget >x64</PlatformTarget>
77
<!--Use the property DotNet to set TargetFramework from commandline without forcing it on all projects-->
88
<!--Ex. DynamoServices uses TargetFramework netstandard2.0 -->
9-
<DotNet>net8.0</DotNet>
9+
<DotNet>net10.0</DotNet>
1010
<!--Use LibGVer to tell the CI/CD pipeline what the prefered LIBG version is for testing-->
1111
<LIBGVer>libg_231_0_0</LIBGVer>
1212
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">16.0</VisualStudioVersion>

0 commit comments

Comments
 (0)