Skip to content

Document Visual Studio 2022 and 2026 Windows builds#1458

Open
bmehta001 wants to merge 1 commit into
microsoft:mainfrom
bmehta001:bhamehta/windows-build-docs
Open

Document Visual Studio 2022 and 2026 Windows builds#1458
bmehta001 wants to merge 1 commit into
microsoft:mainfrom
bmehta001:bhamehta/windows-build-docs

Conversation

@bmehta001
Copy link
Copy Markdown
Contributor

@bmehta001 bmehta001 commented May 30, 2026

Summary

Addresses the VS2022/VS2026 Windows build documentation gap from #1260 and keeps related Windows build-script fixes in one focused PR.

  • Document the VS2019/VS2022/VS2026 command-line build wrappers.
  • Add build-all-v145.bat for VS2026/v145 and teach vcvars.cmd to find VS2026 installs.
  • Make VS2022/VS2026 wrappers skip legacy .NET Framework 4.0 targets that modern Visual Studio may report as unsupported.
  • Normalize solution-level :Build targets in tools/RunMsBuild.bat so project builds work consistently.
  • Fix setup-buildtools.cmd to use the existing .vsconfig.vs* naming scheme and add VS2022/VS2026 configs.

Validation

  • git diff --check
  • tools\RunMsBuild.bat x64 Release sqlite:Build with VS2026/v145
  • tools\RunMsBuild.bat x64 Release "sqlite:Build,zlib:Rebuild" with VS2026/v145
  • Verified VS2026 detection finds the local VS 18 Enterprise install and matching .vsconfig.vs2026.

Fixes #1260

Notes:

Clarify the VS2019/VS2022/VS2026 command-line build entry points, avoid legacy .NET Framework 4.0 projects in VS2022+ wrappers, and make solution-level :Build targets work through RunMsBuild.

Files changed:
- docs/cpp-start-windows.md
- build-all.bat
- build-all-v143.bat
- build-all-v145.bat
- tools/RunMsBuild.bat
- tools/setup-buildtools.cmd
- tools/vcvars.cmd
- tools/.vsconfig.vs2022
- tools/.vsconfig.vs2026
- Solutions/before.targets

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@bmehta001 bmehta001 requested a review from a team as a code owner May 30, 2026 18:13
@bmehta001 bmehta001 changed the title Document Windows build toolsets and legacy targets Document Visual Studio 2022 and 2026 Windows builds May 30, 2026
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.

VS2022 support

1 participant