File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
dotnet/src/dotnetframework/GxClasses/Core Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -1451,13 +1451,12 @@ public string ConfigSection
14511451 }
14521452 static public string StdClassesVersion ( )
14531453 {
1454-
1455- object [ ] customAtts = Assembly . GetExecutingAssembly ( ) . GetCustomAttributes ( typeof ( AssemblyInformationalVersionAttribute ) , true ) ;
1454+ object [ ] customAtts = Assembly . GetExecutingAssembly ( ) . GetCustomAttributes ( typeof ( AssemblyFileVersionAttribute ) , true ) ;
14561455 if ( customAtts != null && customAtts . Length > 0 )
14571456 {
1458- AssemblyInformationalVersionAttribute verAtt = customAtts [ 0 ] as AssemblyInformationalVersionAttribute ;
1457+ AssemblyFileVersionAttribute verAtt = customAtts [ 0 ] as AssemblyFileVersionAttribute ;
14591458 if ( verAtt != null )
1460- return verAtt . InformationalVersion ;
1459+ return verAtt . Version ;
14611460 }
14621461 return Assembly . GetAssembly ( typeof ( GxContext ) ) . GetName ( ) . Version . ToString ( ) ;
14631462 }
You can’t perform that action at this time.
0 commit comments