https://github.com/picoe/Eto/blob/a8f7dae2d0a10809c111876d5aac77374cda80ce/src/Eto.Mac/build/Mac.targets#L44 It checks if it is .NET Core by `TargetFramework`, but the value is `net5.0` when using .NET 5.