MSDN Documentation – Windows Development

Getting Started with Windows Development

This guide walks you through setting up a complete Windows development environment, including IDE, SDKs, and tooling.

Prerequisites

1. Install Visual Studio 2022

Installation Steps
  1. Download the Visual Studio Installer.
  2. Run the installer and select the Desktop development with C++ workload.
  3. Optionally add the .NET desktop development workload for managed code.
  4. Click Install and wait for the process to complete.
vs_installer.exe --add Microsoft.VisualStudio.Workload.NativeDesktop --quiet --wait

2. Install Windows SDK

Installation Steps
  1. Open Visual Studio Installer → Modify → Individual components.
  2. Check Windows 10 SDK (10.0.22621.0) (or latest).
  3. Apply changes.
winget install Microsoft.WindowsSDK -s msstore

3. Configure Environment Variables

Add the SDK tools folder to your PATH for command‑line access.

setx PATH "%PATH%;C:\Program Files (x86)\Windows Kits\10\bin\%WindowsSdkVersion%\x64"

4. Verify Installation

Open Developer PowerShell for VS 2022 and run:

cl /?   # Should display Microsoft (R) C/C++ Optimizing Compiler version

If the version information appears, your setup is complete.

Next Steps