public static bool CanGetFrameworkReferences(TargetFrameworkMoniker targetFramework) { return(targetFramework.IsNetCoreAppOrHigher(Version30) || targetFramework.IsNetStandardOrHigher(Version21)); }