Skip to content

Conversation

keelbismark
Copy link

Checklist
  • npm install && npm run lint && npm test passes
  • tests are included
  • documentation is changed or added
  • commit message follows commit guidelines
Description of change

feat: add support for Visual Studio 2026

This pull request introduces initial support for the upcoming Visual Studio 2026 (internal version 18.0).

The key changes include:

  • Version Detection: Added '2026' and version '18.0' to the version maps in SelectVisualStudioVersion and _DetectVisualStudioVersions. This allows GYP to correctly identify VS 2026 installations.
  • Version Creation: Included a new VisualStudioVersion definition for '2026' in the _CreateVersion function.
  • Toolset Update: Set the default_toolset to v145. This aligns with the toolset version observed in the Visual Studio 2026 Insider Preview builds, resolving potential MSB8020 errors for users on the latest previews.

These changes enable developers using early versions of Visual Studio 2026 to generate and build projects with GYP seamlessly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants