var dotnetVersion = System.Runtime.InteropServices.RuntimeInformation.FrameworkDescription;
Console.WriteLine($"🌄 .NET Version: {dotnetVersion}");
var entryAssembly = Assembly.GetEntryAssembly();
if (entryAssembly != null)
var productVersion = entryAssembly.GetCustomAttribute<System.Reflection.AssemblyInformationalVersionAttribute>()?.InformationalVersion;
Console.WriteLine($"🌄 Product Version : {productVersion ?? "Unknown"}");
Console.WriteLine("🌄 Product Version : Unknown");