From deee8d056f37009596e05d61bee5699ea0dd741f Mon Sep 17 00:00:00 2001 From: Aigio Liu Date: Fri, 8 Mar 2024 17:57:18 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20FileVersion?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Commands/IDotNetPublishCommand.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)}"; });