Skip to content

Commit

Permalink
Print assembly informational version (#18490)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeharder authored Feb 5, 2021
1 parent d020098 commit a651fca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion common/Perf/Azure.Test.Perf/PerfProgram.cs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ private static async Task Run(Type testType, PerfOptions options)
.OrderBy(a => a.Name);
foreach (var a in azureAssemblies)
{
Console.WriteLine($"{a.Name}: {a.Version}");
var informationalVersion = FileVersionInfo.GetVersionInfo(Assembly.Load(a).Location).ProductVersion;
Console.WriteLine($"{a.Name}: {a.Version} ({informationalVersion})");
}
Console.WriteLine();

Expand Down

0 comments on commit a651fca

Please sign in to comment.