ui
This commit is contained in:
@@ -6,6 +6,6 @@ public static class AssemblyExtensions
|
||||
{
|
||||
public static AppVersion GetAppVersion(this Assembly @this)
|
||||
{
|
||||
return @this.GetCustomAttribute<AssemblyAppVersionAttribute>()?.Version ?? new(@this.GetName().Version);
|
||||
return @this.GetCustomAttribute<AssemblyAppVersionAttribute>()?.Version ?? AppVersion.Parse(Assembly.GetEntryAssembly().GetCustomAttribute<AssemblyInformationalVersionAttribute>().InformationalVersion);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<LangVersion>latest</LangVersion>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>annotations</Nullable>
|
||||
<Version>2.7.3</Version>
|
||||
<Version>2.7.4</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
|
||||
|
||||
Reference in New Issue
Block a user