diff --git a/Pilz/Extensions/AssemblyExtensions.cs b/Pilz/Extensions/AssemblyExtensions.cs index cd0adb5..f575afd 100644 --- a/Pilz/Extensions/AssemblyExtensions.cs +++ b/Pilz/Extensions/AssemblyExtensions.cs @@ -6,6 +6,6 @@ public static class AssemblyExtensions { public static AppVersion GetAppVersion(this Assembly @this) { - return @this.GetCustomAttribute()?.Version ?? new(); + return @this.GetCustomAttribute()?.Version ?? new(@this.GetName().Version); } }