-
Notifications
You must be signed in to change notification settings - Fork 255
Description
This is an enhancement to the Swift installation procedure for Windows 10. Below, after describing the concern, I have a request to change Swift - Getting Started. I am new at Swift, and other thoughts are welcome!
Environment
build number: Swift 5.6.1
OS: Windows 10 desktop computer
Issue Description
Installing VS 2019 Free Community Edition causes the install of the IDE, which I do not need or want, and possibly other components. From a reading of the instructions, it seemed to me that the only components I need are the Windows SDK and the Build Tools. I have installed only those, and this is working for me, but of course this should be tested by others.
If that seems reasonable, could you revise the Traditional option on Swift - Getting Started, as shown below? (Or if you prefer, to add this as a third option? following Windows Package Manager and Traditional)
Also, could you add some install details for the Build Tools, and WinSDK? (see below)
Thanks for considering!
Suggested Documentation Fixes
- On Swift - Getting Started > On Windows > Dependencies,
change this:
Visual Studio (provides the Visual C++ SDK/Build Tools for additional headers)
to this:
Visual C++ Build Tools (for additional headers)
- On Swift - Getting Started > On Windows > Installation Instructions > Traditional Installation,
change this (inside the box):
-------
MSVC v142 - VS 2019 C++ x64/x86 build tools (Latest)
-------
Windows 10 SDK (10.0.17763.0)
-------
to this:
-------
Build Tools for Visual Studio 2019 (version 16.11) x64
vs_buildtools__1022a9f2da084c9eb238c957482fdc73.exe
https://my.visualstudio.com/Downloads?q=visual%20studio%202019&wt.mc_id=o~msft~vscom~older-downloads
Note: to download older free software, this requires you to create an account (free to certain groups) for the Visual Studio Dev Essentials program.
-------
Windows 10 SDK, version 1809 (10.0.17763.0)
winsdksetup-(10.0.17763.0) for Windows 10.exe
https://developer.microsoft.com/en-us/windows/downloads/sdk-archive/
-------
-
On Swift - Getting Started, various places,
change all places where it says it needs/depends on 'Visual Studio 2019' to 'the Windows SDK and Build Tools from Visual Studio 2019'. -
On Swift - Getting Started > On Windows > Installation Instructions > Traditional Installation,
under the box with the build tools and Win SDK,
add:
A note on the Build Tools installer
- This install invokes Visual Studio Installer.
- Go to 'Individual Components' tab.
- Enter 2019 and x64 into the search box to whittle down the offerings.
- Find and select 'MSVC v142 VS 2019 C++ x64/x86 build tools (latest)'.
A note on the Windows SDK installer
- Unselect ARM and .NET
At least, I did not need ARM or .NET. Just another way to slim down the installs.