Browse Source
Win32.PlatformConstants uses buildNumber instead of version (#16453 )
pull/16470/head
Christophe Calmejane
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
src/Windows/Avalonia.Win32/PlatformConstants.cs
@ -11,7 +11,7 @@ namespace Avalonia.Win32
/// <summary>
/// Windows 10 Anniversary Update
/// </summary>
public static readonly Version Windows10_1607 = new Version ( 1 0 , 0 , 1 6 0 7 ) ;
public static readonly Version Windows10_1607 = new Version ( 1 0 , 0 , 1 4 3 9 3 ) ; // 3rd digit of the Version class is build number (which is 14393 for Windows 10 Version 1607)
public static readonly Version Windows8 = new Version ( 6 , 2 ) ;
public static readonly Version Windows8_1 = new Version ( 6 , 3 ) ;
public static readonly Version Windows7 = new Version ( 6 , 1 ) ;