Incomplete winget command for MSVC install on Windows 10 #13290
Labels
bug
enhancement
Improvement to an existing feature
fixed
Check the Milestone for the release in which the fix is or will be available.
Language Service
Milestone
Environment
Bug Summary and Steps to Reproduce
Bug Summary:
The winget command given on the walkthrough
winget install Microsoft.VisualStudio.2022.BuildTools --force --override "--wait --passive --add Microsoft.VisualStudio.Workload.VCTools --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --add Microsoft.VisualStudio.Component.Windows10SDK"
installs an incomplete MSVC compiler that is unable to run the hello world example given on the walkthrough.Steps to reproduce:
#include <iostream>
Expected behavior:
Correct and complete installation of the MSCV compiler, which can execute the provided hello word example.
Temporary fix:
Visual Studio Installer
Desktop development with C++
. There should be an additional 3GB of files to be installedBasically, follow the instructions present in https://code.visualstudio.com/docs/cpp/config-msvc
Configuration and Logs
Other Extensions
No response
Additional context
Code in question of
hello-world.cpp
:Returns
When compiled with MSVC compiler.
PS: On step 3 of the walkthrough "Launch from the Developer Command Prompt for VS" displays a blue button that restarts the VSC window, yet the instructions require that you close VSC and start it from development cmd or pwsh.
The text was updated successfully, but these errors were encountered: