Skip to content

Commit 6732e4b

Browse files
Updated to .NET 10, ran tests, benchmarks. centralized package versions
1 parent 1319e4f commit 6732e4b

4 files changed

Lines changed: 22 additions & 15 deletions

File tree

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
<!-- Global project properies -->
4545
<PropertyGroup>
4646
<ImplicitUsings>enable</ImplicitUsings>
47-
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
47+
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
4848
</PropertyGroup>
4949
</Project>
5050

Directory.Packages.props

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,30 +4,30 @@
44
</PropertyGroup>
55
<ItemGroup>
66
<PackageVersion Include="FastExpressionCompiler" Version="5.3.0" />
7-
<!-- Development Tools -->
7+
<!-- Development Tools -->
88
<PackageVersion Include="Nerdbank.GitVersioning" Version="3.9.50">
99
<PrivateAssets>all</PrivateAssets>
1010
</PackageVersion>
1111
<PackageVersion Include="Microsoft.SourceLink.GitHub" Version="8.0.0">
1212
<PrivateAssets>all</PrivateAssets>
1313
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1414
</PackageVersion>
15-
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp.Scripting" Version="4.14.0" />
16-
<!-- Testing Framework -->
17-
<PackageVersion Include="Hyperbee.Collections" Version="2.4.0" />
18-
<PackageVersion Include="Hyperbee.Resources" Version="2.0.2" />
15+
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp.Scripting" Version="5.0.0" />
16+
<!-- Testing Framework -->
17+
<PackageVersion Include="Hyperbee.Collections" Version="2.6.4" />
18+
<PackageVersion Include="Hyperbee.Resources" Version="2.0.4" />
1919
<PackageVersion Include="Hyperbee.XS" Version="1.3.3" />
2020
<PackageVersion Include="Hyperbee.XS.Extensions" Version="1.3.3" />
21-
<PackageVersion Include="Microsoft.Extensions.Hosting" Version="9.0.8" />
22-
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.14.1" />
23-
<PackageVersion Include="MSTest.TestFramework" Version="3.10.1" />
24-
<PackageVersion Include="MSTest.TestAdapter" Version="3.10.1" />
21+
<PackageVersion Include="Microsoft.Extensions.Hosting" Version="10.0.1" />
22+
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
23+
<PackageVersion Include="MSTest.TestFramework" Version="4.0.2" />
24+
<PackageVersion Include="MSTest.TestAdapter" Version="4.0.2" />
2525
<PackageVersion Include="coverlet.collector" Version="6.0.4">
2626
<PrivateAssets>all</PrivateAssets>
2727
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2828
</PackageVersion>
2929
<PackageVersion Include="NSubstitute" Version="5.3.0" />
3030
<!-- Benchmarking Tools -->
31-
<PackageVersion Include="BenchmarkDotNet" Version="0.15.2" />
32-
</ItemGroup>
31+
<PackageVersion Include="BenchmarkDotNet" Version="0.15.8" />
32+
</ItemGroup>
3333
</Project>

test/Hyperbee.Templating.Benchmark/BenchmarkConfig.cs

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,29 @@
11
using BenchmarkDotNet.Columns;
22
using BenchmarkDotNet.Configs;
33
using BenchmarkDotNet.Diagnosers;
4+
using BenchmarkDotNet.Environments;
45
using BenchmarkDotNet.Exporters;
56
using BenchmarkDotNet.Jobs;
67
using BenchmarkDotNet.Loggers;
78
using BenchmarkDotNet.Order;
89
using BenchmarkDotNet.Validators;
910

1011
namespace Hyperbee.Templating.Benchmark;
12+
1113
public class BenchmarkConfig
1214
{
1315
public class Config : ManualConfig
1416
{
1517
public Config()
1618
{
17-
AddJob( Job.ShortRun );
19+
AddJob( Job.ShortRun
20+
.WithRuntime( CoreRuntime.Core80 )
21+
.WithId( ".NET 8" ) );
22+
23+
AddJob( Job.ShortRun
24+
.WithRuntime( CoreRuntime.Core10_0 )
25+
.WithId( ".NET 10" ) );
26+
1827
AddExporter( MarkdownExporter.GitHub );
1928
AddValidator( JitOptimizationsValidator.DontFailOnError );
2029
AddLogger( ConsoleLogger.Default );

test/Hyperbee.Templating.Benchmark/Hyperbee.Templating.Benchmark.csproj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
6-
<ImplicitUsings>enable</ImplicitUsings>
75
<Nullable>enable</Nullable>
86
<IsPackable>false</IsPackable>
97
<IsTestingPlatformApplication>false</IsTestingPlatformApplication>

0 commit comments

Comments
 (0)