@@ -8,5 +9,5 @@
@Loc[nameof(Dialogs.SettingsDialogDarkTheme)]
- @string.Format(Loc[nameof(Dialogs.SettingsDialogVersion)], s_version)
+ @string.Format(Loc[nameof(Dialogs.SettingsDialogVersion)], VersionHelpers.DashboardDisplayVersion)
diff --git a/src/Aspire.Dashboard/Components/Dialogs/SettingsDialog.razor.cs b/src/Aspire.Dashboard/Components/Dialogs/SettingsDialog.razor.cs
index 285830c671..a08069643c 100644
--- a/src/Aspire.Dashboard/Components/Dialogs/SettingsDialog.razor.cs
+++ b/src/Aspire.Dashboard/Components/Dialogs/SettingsDialog.razor.cs
@@ -1,7 +1,6 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
-using Aspire.Dashboard.Extensions;
using Aspire.Dashboard.Model;
using Aspire.Dashboard.Utils;
using Microsoft.AspNetCore.Components;
@@ -13,7 +12,6 @@ namespace Aspire.Dashboard.Components.Dialogs;
public partial class SettingsDialog : IDialogContentComponent, IAsyncDisposable
{
private string _currentSetting = ThemeManager.ThemeSettingSystem;
- private static readonly string? s_version = typeof(SettingsDialog).Assembly.GetDisplayVersion();
private IJSObjectReference? _jsModule;
private IDisposable? _themeChangedSubscription;
diff --git a/src/Aspire.Dashboard/Components/Layout/EmptyLayout.razor b/src/Aspire.Dashboard/Components/Layout/EmptyLayout.razor
new file mode 100644
index 0000000000..f86fbac564
--- /dev/null
+++ b/src/Aspire.Dashboard/Components/Layout/EmptyLayout.razor
@@ -0,0 +1,3 @@
+@inherits LayoutComponentBase
+@Body
+