8 references to AssemblyVersionHelper
Aspire.Dashboard (5)
DashboardWebApplication.cs (1)
621if (AssemblyVersionHelper.GetInformationalVersion(typeof(DashboardWebApplication).Assembly) is { Length: > 0 } informationalVersion)
ServiceClient\DashboardClient.cs (1)
1205var informationalVersion = Shared.AssemblyVersionHelper.GetInformationalVersion(typeof(DashboardClient).Assembly);
Telemetry\DashboardTelemetryService.cs (2)
28{ TelemetryPropertyKeys.DashboardVersion, new AspireTelemetryProperty(AssemblyVersionHelper.GetInformationalVersion(typeof(DashboardWebApplication).Assembly)) }, 29{ TelemetryPropertyKeys.DashboardBuildId, new AspireTelemetryProperty(AssemblyVersionHelper.GetFileVersion(typeof(DashboardWebApplication).Assembly)) },
Utils\VersionHelpers.cs (1)
13public static string? DashboardDisplayVersion { get; } = AssemblyVersionHelper.GetDisplayVersion(typeof(VersionHelpers).Assembly);
Aspire.Dashboard.Tests (3)
AssemblyExtensionsTests.cs (3)
30var actualDisplayVersion = AssemblyVersionHelper.GetDisplayVersion(assembly); 50var actualDisplayVersion = AssemblyVersionHelper.GetDisplayVersion(assembly); 69var actualDisplayVersion = AssemblyVersionHelper.GetDisplayVersion(assembly);