From d1f11ac9b883ad2820e4d7657222ccf8a05b65a3 Mon Sep 17 00:00:00 2001 From: Alberto Spelta Date: Mon, 18 Mar 2024 16:57:27 +0100 Subject: [PATCH] Use SemVer for `VpaxObfuscator.Version` property --- src/Dax.Vpax.Obfuscator/VpaxObfuscator.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Dax.Vpax.Obfuscator/VpaxObfuscator.cs b/src/Dax.Vpax.Obfuscator/VpaxObfuscator.cs index c767449..12258fc 100644 --- a/src/Dax.Vpax.Obfuscator/VpaxObfuscator.cs +++ b/src/Dax.Vpax.Obfuscator/VpaxObfuscator.cs @@ -7,7 +7,7 @@ namespace Dax.Vpax.Obfuscator; public sealed class VpaxObfuscator : IVpaxObfuscator { - public static string Version { get; } = ThisAssembly.AssemblyInformationalVersion; + public static string Version { get; } = System.Version.Parse(ThisAssembly.AssemblyFileVersion).ToString(3); public ObfuscationOptions Options { get; } = new(); public ObfuscationDictionary Obfuscate(Stream stream, ObfuscationDictionary? dictionary = null) => ObfuscateImpl(Options, stream, dictionary);