Files
WSL/doc/docs
Ben Hillis caf7e59bec Add dev environment setup with WinGet Configuration (#40117)
* Add setup-dev-env.ps1 and WinGet configuration for dev prerequisites

Add a one-command developer environment setup that uses WinGet
Configuration (DSC) to install all build prerequisites: Developer Mode,
CMake, Visual Studio 2022, and the required VS workloads/components.

New files:
- tools/setup-dev-env.ps1: Detects any existing VS 2022 edition
  (Community/Professional/Enterprise) and runs the matching WinGet
  configuration. Defaults to Community when no VS 2022 is found.
- .vsconfig: Declares the required VS components (MSVC, ATL, Clang,
  Windows SDK 26100, UWP tools, .NET desktop/WinUI workloads) so
  VS Installer can import them directly.
- .config/configuration.winget: WinGet DSC config for VS Community.
- .config/configuration.vsProfessional.winget: Same for Professional.
- .config/configuration.vsEnterprise.winget: Same for Enterprise.

Updated doc/docs/dev-loop.md to document the automated setup and
reference the new .vsconfig and winget configuration files, while
keeping manual install instructions in a collapsed details block.

* doc: add winget configure --enable to manual setup instructions

Address review feedback: document that 'winget configure --enable' is
required before running winget configure manually, since the feature
may not be enabled by default.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-08 09:14:17 -07:00
..