diff --git a/src/BD.WTTS.Client.Tools.Publish/Commands/IDotNetPublishCommand.cs b/src/BD.WTTS.Client.Tools.Publish/Commands/IDotNetPublishCommand.cs index a499b044a65..2f3ab497cf4 100644 --- a/src/BD.WTTS.Client.Tools.Publish/Commands/IDotNetPublishCommand.cs +++ b/src/BD.WTTS.Client.Tools.Publish/Commands/IDotNetPublishCommand.cs @@ -608,7 +608,7 @@ string GetPackPathWithTryDelete(string fileEx) private static readonly Lazy _AppVersion4 = new(() => { - var v = new Version(AssemblyInfo.Version); + var v = new Version(AssemblyInfo.FileVersion); static int GetInt32(int value) => value < 0 ? 0 : value; return $"{GetInt32(v.Major)}.{GetInt32(v.Minor)}.{GetInt32(v.Build)}.{GetInt32(v.Revision)}"; });