Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit deee8d0

Browse files
committed
🎨 FileVersion
1 parent 3016469 commit deee8d0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/BD.WTTS.Client.Tools.Publish/Commands/IDotNetPublishCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@ string GetPackPathWithTryDelete(string fileEx)
608608

609609
private static readonly Lazy<string> _AppVersion4 = new(() =>
610610
{
611-
var v = new Version(AssemblyInfo.Version);
611+
var v = new Version(AssemblyInfo.FileVersion);
612612
static int GetInt32(int value) => value < 0 ? 0 : value;
613613
return $"{GetInt32(v.Major)}.{GetInt32(v.Minor)}.{GetInt32(v.Build)}.{GetInt32(v.Revision)}";
614614
});

0 commit comments

Comments
 (0)