Update README.md build instructions for VS 2017/2019

This commit is contained in:
Jeremy Wu 2019-08-20 06:30:25 +10:00 committed by GitHub
parent 90b3cfcf9f
commit 56bd31fe22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,17 +55,15 @@ Contribution
Build Build
----- -----
1. Install Visual Studio 2015 and tick all Windows 10 sdk options Install Visual Studio 2015/2017/2019
2. Open powershell with admin permission and `Set-ExecutionPolicy Unrestricted -Scope CurrentUser`
3. Building with VS 2019: VS 2015:
- Apparently last Windows 10 SDK which supported UwpDesktop is version 14393. - Tick all Windows 10 sdk options
(see *https://github.com/Wox-launcher/Wox/pull/1827#commitcomment-26475392* )
- This is needed to compile "Programs" Plugin (UWP.cs) VS 2017/2019 and later:
- If you use a later SDK version, you will see the "References" of Plugin.Programs as broken. - Last Windows 10 SDK which [supported](https://github.com/Wox-launcher/Wox/pull/1827#commitcomment-26475392) UwpDesktop is version 10.0.14393.795. It is needed to compile "Programs" Plugin (UWP.cs), you will see the "References" of Plugin.Programs as broken if you use a later SDK version.
- However this SDK cannot be intsalled via installer of VS 2019. - This SDK cannot be installed via VS 2019 installer.
- If you encounter problems building using VS 2019, then install above listed SDK using the installer of VS 2017. - Download and install [Windows 10 SDK version 10.0.14393.795](https://go.microsoft.com/fwlink/p/?LinkId=838916).
- After that you can build using VS 2019.
Documentation Documentation
------------- -------------