fluttervisual-studiodart

Visual Studio not installed; this is necessary for Windows development


My Flutter Doctor is saying:

Visual Studio - develop for Windows

X Visual Studio not installed; this is necessary for Windows development.
  Download at https://visualstudio.microsoft.com/downloads/.
  Please install the "Desktop development with C++" workload, including all 
  of its default components.

Flutter doctor

How can I fix this problem?


Solution

  • It's basically saying that if you want to develop your Flutter application for Windows you will need to install Visual Studio 2022 and while installing Visual Studio 2022 you will need to download this: Desktop development with C++

    Also, you have to install the third link in this: Visual-studio

    You could also get desktop development with the C++ tool after installing Visual Studio and then navigating to tool → Get tools and featuresDesktop development with C++.

    Enter image description here