in this tutorial we will see how to fix the error Visual Studio is missing necessary components. Please re-run the visual studio installer for the "Desktop development with C++" workload, and include these:
MSVC v142 - VS 2019 C++ x64/x86 build tools
- If there are multiple build tool versions available, install the latest
C++ C Make tools for Windows 10 SDK when running flutter doctor command