Skip to content

Modernize project for .NET 8/10 and Tomlyn v2#7

Open
wxxb789 wants to merge 2 commits intobugproof:masterfrom
wxxb789:feature/modernize-dotnet-and-tomlyn-v2
Open

Modernize project for .NET 8/10 and Tomlyn v2#7
wxxb789 wants to merge 2 commits intobugproof:masterfrom
wxxb789:feature/modernize-dotnet-and-tomlyn-v2

Conversation

@wxxb789
Copy link
Copy Markdown

@wxxb789 wxxb789 commented Apr 16, 2026

Closes #6

Hi! I've been using this library and put together some updates to help keep it current with the latest .NET ecosystem. I hope this is helpful — please feel free to suggest any changes or let me know if this direction doesn't align with your plans for the project.

Summary

  • Convert .sln to .slnx XML format (introduced in .NET 9)
  • Target netstandard2.0, net8.0, net10.0 (replacing net461)
  • Upgrade Tomlyn from 0.14.3 to 2.3.0 (Toml.Parse().ToModel()TomlSerializer.Deserialize<TomlTable>())
  • Migrate test framework from xUnit v2 to xUnit v3 (3.2.2)
  • Update Microsoft.Extensions.Configuration packages to 10.0.6
  • Update FluentAssertions to 8.9.0, Microsoft.NET.Test.Sdk to 18.4.0
  • Add missing stream null validation in AddTomlStream() for consistency with the official JSON provider
  • Bump package version to 2.0.0

Test plan

  • Solution builds with 0 errors, 0 warnings across all target frameworks
  • All existing tests pass on both net8.0 and net10.0 (4/4 tests)
  • Verified Tomlyn v2 API compatibility (TomlTable, TomlArray, TomlTableArray still work as expected)

Thank you for maintaining this library!

wxxb789 added 2 commits April 16, 2026 21:55
- Convert .sln to .slnx XML format
- Target netstandard2.0, net8.0, net10.0 (drop net461)
- Upgrade Tomlyn from 0.14.3 to 2.3.0 (TomlSerializer API)
- Upgrade test framework to xUnit v3 (3.2.2)
- Update Microsoft.Extensions deps to 10.0.6
- Update FluentAssertions to 8.9.0
- Bump package version to 2.0.0
Align with official M.E.Configuration.Json provider by validating
the stream parameter is not null at the extension method entry point.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Modernize project for .NET 8/10 and Tomlyn v2

1 participant