Skip to content

Commit 6e5423a

Browse files
Fix benchmarks
Use a nightly build of BenchmarkDotNet to add support for .NET 10.
1 parent 81da912 commit 6e5423a

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

NuGet.config

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,15 @@
22
<configuration>
33
<packageSources>
44
<clear />
5+
<add key="benchmarkdotnet" value="https://www.myget.org/F/benchmarkdotnet/api/v3/index.json" />
56
<add key="domaindrivendev" value="https://www.myget.org/F/domaindrivendev/api/v3/index.json" />
67
<add key="NuGet" value="https://api.nuget.org/v3/index.json" />
78
</packageSources>
89
<packageSourceMapping>
10+
<packageSource key="benchmarkdotnet">
11+
<package pattern="BenchmarkDotNet" />
12+
<package pattern="BenchmarkDotNet.*" />
13+
</packageSource>
914
<packageSource key="domaindrivendev">
1015
<package pattern="Swashbuckle.AspNetCore*" />
1116
</packageSource>

perf/TodoApp.Benchmarks/TodoApp.Benchmarks.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99
</ItemGroup>
1010
<ItemGroup>
1111
<FrameworkReference Include="Microsoft.AspNetCore.App" />
12-
<PackageReference Include="BenchmarkDotNet" Version="0.14.0" />
12+
<PackageReference Include="BenchmarkDotNet" Version="0.14.1-nightly.20250107.205" />
1313
</ItemGroup>
1414
</Project>

0 commit comments

Comments
 (0)