KestrunRuntimeInfo.GetBuiltTargetFrameworkName method

Returns the full target framework name this assembly was built against, e.g., “.NETCoreApp,Version=v9.0”.

public static string GetBuiltTargetFrameworkName()

See Also