.NET › .NET vs .NET Framework
What is .NET Standard, and why is it less relevant now compared to a few years ago?
IntermediateAnswer
.NET Standard was a formal specification of APIs that both .NET Framework and .NET Core (and Xamarin, Mono, etc.) committed to implementing, letting library authors target one .NET Standard version to support multiple runtime flavors simultaneously. Since .NET 5+ unified the platform and .NET Framework is no longer receiving new .NET Standard version support, most new libraries now target modern TFMs (like net8.0) directly instead of .NET Standard, unless they specifically still need to support .NET Framework consumers.
<!-- Older library approach -->
<TargetFramework>netstandard2.0</TargetFramework>
<!-- Modern approach, unless Framework compatibility still needed -->
<TargetFramework>net8.0</TargetFramework>Real-world example A widely-used open-source logging library still targets netstandard2.0 specifically because many enterprise consumers remain on .NET Framework 4.8 and need compatibility, even though newer consumers use net8.0 directly.