Fix Windows version detection for UTF-8 console

Built-in Environment.OSVersion does not work on Win10.
This commit is contained in:
ORelio 2018-02-11 15:43:58 +01:00
parent 176bbccd50
commit 26716512c1
4 changed files with 100 additions and 3 deletions

View file

@ -96,7 +96,7 @@
<Compile Include="Commands\Script.cs" />
<Compile Include="Commands\Send.cs" />
<Compile Include="Commands\Set.cs" />
<Compile Include="ConsoleIcon.cs" />
<Compile Include="WinAPI\ConsoleIcon.cs" />
<Compile Include="ConsoleIO.cs" />
<Compile Include="Crypto\Streams\BouncyAes\AesFastEngine.cs" />
<Compile Include="Crypto\Streams\BouncyAes\BufferedBlockCipher.cs" />
@ -235,6 +235,7 @@
<Compile Include="Settings.cs" />
<Compile Include="Commands\List.cs" />
<Compile Include="Mapping\Location.cs" />
<Compile Include="WinAPI\WindowsVersion.cs" />
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include=".NETFramework,Version=v4.0,Profile=Client">