Lightlines
By dotnet

thread-abort-migration

dotnet2.4k installs

Make .NET thread shutdowns work after an upgrade.

What it does

Migrates .NET Framework thread-termination code to cooperative cancellation so it works on modern .NET.

When to use it

Use when upgrading a .NET Framework project that calls Thread.Abort, or resolving related exceptions and warnings after retargeting.

How to use it

Give it a .NET Framework project and the target framework; it replaces thread-termination patterns with cooperative cancellation and verifies the migration.

What you provide

  • the target .NET framework
  • An existing project

Latest review

What you need · 1

The migrated code targets modern .NET 6 or later.


Access · 0

No additional actions listed.