Skip to content

Commit 0282f0e

Browse files
committedFeb 7, 2025·
add 9.0.x to yml and test setup
1 parent 83c5a4c commit 0282f0e

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed
 

‎.github/workflows/dotnet-integration.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ jobs:
2222
with:
2323
dotnet-version: |
2424
6.0.x
25-
8.0.x
25+
8.0.x
26+
9.0.x
2627
2728
- name: Build
2829
run: dotnet build Dapper.AOT.sln -c Debug

‎.github/workflows/dotnet.yml

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
dotnet-version: |
2424
6.0.x
2525
8.0.x
26+
9.0.x
2627
2728
- uses: dotnet/nbgv@master
2829
with:

‎test/Dapper.AOT.Test/Verifiers/Verifier.cs

+4
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@ internal Task ExecuteAsync(AnalyzerTest<XUnitVerifier> test, string source,
7878
}
7979
#if NETFRAMEWORK
8080
test.ReferenceAssemblies = ReferenceAssemblies.NetFramework.Net472.Default;
81+
#elif NET9_0_OR_GREATER
82+
test.ReferenceAssemblies = new ReferenceAssemblies("net9.0",
83+
new PackageIdentity("Microsoft.NETCore.App.Ref", "9.0.0"),
84+
Path.Combine("ref", "net9.0"));
8185
#elif NET8_0_OR_GREATER
8286
test.ReferenceAssemblies = new ReferenceAssemblies("net8.0",
8387
new PackageIdentity("Microsoft.NETCore.App.Ref", "8.0.0"),

0 commit comments

Comments
 (0)
Please sign in to comment.