Returns a string such as 'net5.0', 'net5.0-windows', 'netcoreapp3.1', 'netstandard2.0', 'net462', 'net4x'. Related documentation: https://github.com/dotnet/designs/blob/main/accepted/2020/net5/net5.md
Requirements
Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed