Skip to content

Conversation

@guilhermemouraovc
Copy link

Add prerequisites section to Windows install page

Make Visual Studio requirement more prominent by adding a dedicated prerequisites section at the top of the Windows installation page. This helps prevent build errors from users installing Swift without required dependencies.

Motivation:

The Windows install page did not make it sufficiently obvious that Visual Studio is a required prerequisite for Swift. Users who missed this requirement encountered cryptic build errors like 'stdint.h' file not found when attempting to compile Swift code. Issue #666 documented this problem where new users could easily skip the Visual Studio installation, especially when using the manual installer route.

Modifications:

  • Added a prominent "Prerequisites" section at the top of /install/windows/index.md before the installation steps
  • Included the existing _windows_dependencies.md content that lists all required dependencies (Git, Python, Windows SDK, Visual Studio)
  • Added an important note clarifying that WinGet automatically installs Visual Studio, but manual installer users must install prerequisites separately
  • Updated the section 1 heading from "Install Swift via WinGet" to "Install Swift and Dependencies via WinGet" to make it clear both are included

Result:

Users visiting the Windows installation page will now immediately see the prerequisites section with Visual Studio clearly listed as a required dependency. This prevents confusion and reduces support burden from users who attempt to use Swift without the necessary platform dependencies installed.

Fixes #763

…rerequisites section at the top of the Windows installation page. This helps prevent build errors from users installing Swift without required dependencies. Changes:

   - Add Prerequisites section with dependencies documentation
   - Include note explaining WinGet auto-installs VS vs manual install
   - Update section 1 heading to clarify dependencies are included   Fixes swiftlang#666
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Windows install instructions should make it obvious that you need to install Visual Studio

1 participant