diff --git a/src/OpenLayers.Blazor.Demo/Shared/MainLayout.razor b/src/OpenLayers.Blazor.Demo/Shared/MainLayout.razor index 5ff2be5..2b3e9b7 100644 --- a/src/OpenLayers.Blazor.Demo/Shared/MainLayout.razor +++ b/src/OpenLayers.Blazor.Demo/Shared/MainLayout.razor @@ -1,4 +1,6 @@ @using System.Globalization +@using System.Diagnostics +@using System.Reflection @inherits LayoutComponentBase
@@ -8,8 +10,11 @@
- @CultureInfo.CurrentCulture - V-@(typeof(Map).Assembly.GetName().Version) + Version @(((AssemblyFileVersionAttribute)Attribute.GetCustomAttribute( + typeof(Map).Assembly, + typeof(AssemblyFileVersionAttribute), false) + ).Version) + (@CultureInfo.CurrentCulture) GitHub