diff --git a/dotnet/src/dotnetframework/GxClasses/Core/GXApplication.cs b/dotnet/src/dotnetframework/GxClasses/Core/GXApplication.cs index ed5cf564e..00965b9f3 100644 --- a/dotnet/src/dotnetframework/GxClasses/Core/GXApplication.cs +++ b/dotnet/src/dotnetframework/GxClasses/Core/GXApplication.cs @@ -1451,13 +1451,12 @@ public string ConfigSection } static public string StdClassesVersion() { - - object[] customAtts = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyInformationalVersionAttribute), true); + object[] customAtts = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyFileVersionAttribute), true); if (customAtts != null && customAtts.Length > 0) { - AssemblyInformationalVersionAttribute verAtt = customAtts[0] as AssemblyInformationalVersionAttribute; + AssemblyFileVersionAttribute verAtt = customAtts[0] as AssemblyFileVersionAttribute; if (verAtt != null) - return verAtt.InformationalVersion; + return verAtt.Version; } return Assembly.GetAssembly(typeof(GxContext)).GetName().Version.ToString(); }