Skip to content

Commit 71b425d

Browse files
committed
Environment.Version: Treat the informational version as the primary version.
1 parent 5ca5ffe commit 71b425d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/NHibernate/Cfg/Environment.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public static string Version
5454

5555
if (attrs != null && attrs.Length > 0)
5656
{
57-
cachedVersion = string.Format("{0} ({1})", thisAssembly.GetName().Version, attrs[0].InformationalVersion);
57+
cachedVersion = string.Format("{0} (assembly {1})", attrs[0].InformationalVersion, thisAssembly.GetName().Version);
5858
}
5959
else
6060
{

0 commit comments

Comments
 (0)