Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add support for .net 6, 7 and 8 - #173

Merged
koculu merged 1 commit into
mainfrom
polyfill-for-dotnet-6-7-8
Aug 4, 2026
Merged

Add support for .net 6, 7 and 8#173
koculu merged 1 commit into
mainfrom
polyfill-for-dotnet-6-7-8

Conversation

@koculu

@koculu koculu commented Aug 4, 2026

Copy link
Copy Markdown
Member

Description
This PR expands ZoneTree’s supported target frameworks from net10.0;net9.0 to:

net10.0;net9.0;net8.0;net7.0;net6.0

To keep the existing codebase compatible without broad call-site rewrites, it adds small conditional polyfills for APIs that are unavailable on older TFMs:

  • System.Threading.Lock for net8.0, net7.0, and net6.0
  • ArgumentOutOfRangeException.ThrowIfNegative(...) and ThrowIfLessThanOrEqual(...) for net7.0 and net6.0
  • ObjectDisposedException.ThrowIf(...) for net6.0

The PR also uses Microsoft.SourceLink.GitHub 8.0.0 for net6.0 and net7.0, while keeping 10.0.300 for newer TFMs. This avoids the transitive System.IO.Hashing 10.0.8 unsupported-framework warning on older targets.

@koculu
koculu merged commit 44a27d8 into main Aug 4, 2026
1 check passed
@koculu
koculu deleted the polyfill-for-dotnet-6-7-8 branch August 4, 2026 17:27
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.

1 participant