Skip to content

Commit f95a746

Browse files
authored
Add support for .NET 10 (#128)
* Add support for .NET 10 * use .NET 10 on CI * revert to prebuild connector for .NET 10.0 * try net10 build * Update CHANGELOG
1 parent a16418c commit f95a746

File tree

16 files changed

+109
-2
lines changed

16 files changed

+109
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,9 @@ jobs:
6161
- uses: actions/checkout@v4
6262
- name: Setup .NET
6363
uses: actions/setup-dotnet@v4
64+
# For a full NET 10.0 build, we also need MsBuild related to .NET 10 (requires VS 2026) is also available on the image
6465
with:
65-
dotnet-version: 9.0.x
66+
dotnet-version: 10.0.x
6667
- id: versions
6768
name: Calculate versions
6869
shell: pwsh

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* The 'New Project' wizard is updated to use the latest versions of supported test frameworks and .NET frameworks (#113)
66
* The 'Format Document' command is updated to right-align numeric values in tables. This can be overridden to left align them by setting `gherkin_table_cell_right_align_numeric_content = false` in .editorconfig file within a `[*.feature]` section. (#107)
77
* Add xunit.v3 as a choice of test framework in the 'New Project' wizard (#120)
8+
* Support for .NET 10 projects (#128)
89

910
## Bug fixes:
1011

Connectors/build.ps1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@ dotnet publish -f net9.0 $buildArgs
5858

5959
Copy-Item bin\$configuration\net9.0\publish\ $outputFolder\Reqnroll-Generic-net9.0\ -Recurse
6060

61+
# Build for .NET 10 once it's available on CI
62+
# dotnet publish -f net10.0 $buildArgs
63+
# Copy-Item bin\$configuration\net10.0\publish\ $outputFolder\Reqnroll-Generic-net10.0\ -Recurse
64+
Copy-Item ..\prebuilt\Reqnroll-Generic-net10.0\ $outputFolder\Reqnroll-Generic-net10.0\ -Recurse
65+
6166
popd
6267

6368
# build SpecFlow V1 any cpu
Binary file not shown.
1.13 MB
Binary file not shown.
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
{
2+
"runtimeTarget": {
3+
"name": ".NETCoreApp,Version=v10.0",
4+
"signature": ""
5+
},
6+
"compilationOptions": {},
7+
"targets": {
8+
".NETCoreApp,Version=v10.0": {
9+
"reqnroll-vs/2025.2.99999-local": {
10+
"dependencies": {
11+
"Microsoft.Extensions.DependencyModel": "8.0.1",
12+
"Reqnroll.VisualStudio.ReqnrollConnector.Models": "2025.2.99999-local",
13+
"dnlib": "4.4.0"
14+
},
15+
"runtime": {
16+
"reqnroll-vs.dll": {}
17+
}
18+
},
19+
"dnlib/4.4.0": {
20+
"runtime": {
21+
"lib/net6.0/dnlib.dll": {
22+
"assemblyVersion": "4.4.0.0",
23+
"fileVersion": "4.4.0.0"
24+
}
25+
}
26+
},
27+
"Microsoft.Extensions.DependencyModel/8.0.1": {
28+
"runtime": {
29+
"lib/net8.0/Microsoft.Extensions.DependencyModel.dll": {
30+
"assemblyVersion": "8.0.0.1",
31+
"fileVersion": "8.0.724.31311"
32+
}
33+
}
34+
},
35+
"Reqnroll.VisualStudio.ReqnrollConnector.Models/2025.2.99999-local": {
36+
"runtime": {
37+
"Reqnroll.VisualStudio.ReqnrollConnector.Models.dll": {
38+
"assemblyVersion": "2025.2.0.0",
39+
"fileVersion": "2025.2.0.0"
40+
}
41+
}
42+
}
43+
}
44+
},
45+
"libraries": {
46+
"reqnroll-vs/2025.2.99999-local": {
47+
"type": "project",
48+
"serviceable": false,
49+
"sha512": ""
50+
},
51+
"dnlib/4.4.0": {
52+
"type": "package",
53+
"serviceable": true,
54+
"sha512": "sha512-cKHI720q+zfEEvzklWVGt6B0TH3AibAyJbpUJl4U6KvTP13tycfnqJpkGHRZ/oQ45BTIoIxIwltHIJVDN+iCqQ==",
55+
"path": "dnlib/4.4.0",
56+
"hashPath": "dnlib.4.4.0.nupkg.sha512"
57+
},
58+
"Microsoft.Extensions.DependencyModel/8.0.1": {
59+
"type": "package",
60+
"serviceable": true,
61+
"sha512": "sha512-5Ou6varcxLBzQ+Agfm0k0pnH7vrEITYlXMDuE6s7ZHlZHz6/G8XJ3iISZDr5rfwfge6RnXJ1+Wc479mMn52vjA==",
62+
"path": "microsoft.extensions.dependencymodel/8.0.1",
63+
"hashPath": "microsoft.extensions.dependencymodel.8.0.1.nupkg.sha512"
64+
},
65+
"Reqnroll.VisualStudio.ReqnrollConnector.Models/2025.2.99999-local": {
66+
"type": "project",
67+
"serviceable": false,
68+
"sha512": ""
69+
}
70+
}
71+
}
92.5 KB
Binary file not shown.
159 KB
Binary file not shown.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"runtimeOptions": {
3+
"tfm": "net10.0",
4+
"framework": {
5+
"name": "Microsoft.NETCore.App",
6+
"version": "10.0.0-rc.2.25502.107"
7+
},
8+
"configProperties": {
9+
"System.Reflection.Metadata.MetadataUpdater.IsSupported": false,
10+
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
11+
}
12+
}
13+
}

0 commit comments

Comments
 (0)