dotnet-state-machine / stateless

A simple library for creating state machines in C# code
Other
5.6k stars 766 forks source link

Add explicit .NET 6.0 framework support #479

Closed crozone closed 2 years ago

crozone commented 2 years ago

Add .NET 6.0 as a target framework, with the net6.0 TFM.

Corrected the .NET 5.0 TFM from net50 to net5.0

TFM documentation reference: https://docs.microsoft.com/en-us/dotnet/standard/frameworks#supported-target-frameworks

crozone commented 2 years ago

Should close https://github.com/dotnet-state-machine/stateless/issues/473

crozone commented 2 years ago

@ffMathy and a workflow check on this one too if it's not too much trouble

ffMathy commented 2 years ago

There you go! 😊🙏

crozone commented 2 years ago

Just discovered an issue with this PR: I forgot to also add the TFM changes to the testing project as well. I'll do that in a separate PR.

EDIT: Actually, the testing project is only built against net50... so not really sure what to do here. Move it forward to net6.0? In any case, leaving it for now.