diff --git a/docs/Reference/Generated/MigrationTools.Host.xml b/docs/Reference/Generated/MigrationTools.Host.xml
index aae9d8ad8..6fac6efb7 100644
--- a/docs/Reference/Generated/MigrationTools.Host.xml
+++ b/docs/Reference/Generated/MigrationTools.Host.xml
@@ -4,5 +4,100 @@
MigrationTools.Host
+
+
+ Gets whether the current repository is dirty.
+
+
+
+
+ => @"true"
+
+
+
+
+ => @"https://github.com/nkdAgility/azure-devops-migration-tools.git"
+
+
+
+
+ => @"gitVersion"
+
+
+
+
+ => @"06bc3d1"
+
+
+
+
+ => @"06bc3d128891322b87b3cae2f5985a7ece396f17"
+
+
+
+
+ => @"2023-11-08T13:00:08+00:00"
+
+
+
+
+ => @"0"
+
+
+
+
+ => @"v14.2.1"
+
+
+
+
+ => @"v14.2.1"
+
+
+
+
+ => @"14"
+
+
+
+
+ => @"2"
+
+
+
+
+ => @"1"
+
+
+
+
+ => @"14"
+
+
+
+
+ => @"2"
+
+
+
+
+ => @"1"
+
+
+
+
+ => @""
+
+
+
+
+ => @""
+
+
+
+
+ => @"Tag"
+
+
diff --git a/src/MigrationTools.Host/MigrationToolHost.cs b/src/MigrationTools.Host/MigrationToolHost.cs
index ad85c1d5e..cc1f6441d 100644
--- a/src/MigrationTools.Host/MigrationToolHost.cs
+++ b/src/MigrationTools.Host/MigrationToolHost.cs
@@ -151,8 +151,8 @@ public static IHostBuilder CreateDefaultBuilder(string[] args)
private static string GetVersionTextForLog()
{
Version runningVersion = DetectVersionService2.GetRunningVersion();
- string textVersion = $"v" + ((runningVersion.Major > 1) ? runningVersion : "Local");
- return textVersion;
+ string textVersion = ((runningVersion.Major > 1) ? "$v" + runningVersion : ThisAssembly.Git.BaseTag.Replace("v", "") + "-local");
+ return textVersion;
}
public static async Task RunMigrationTools(this IHostBuilder hostBuilder, string[] args)
diff --git a/src/MigrationTools.Host/MigrationTools.Host.csproj b/src/MigrationTools.Host/MigrationTools.Host.csproj
index 421a89437..d1d0d25e6 100644
--- a/src/MigrationTools.Host/MigrationTools.Host.csproj
+++ b/src/MigrationTools.Host/MigrationTools.Host.csproj
@@ -10,6 +10,10 @@
+
+ all
+ runtime; build; native; contentfiles; analyzers; buildtransitive
+