Upgrading Flutter — Visual Studio not installed!!

Hamza Mateen
2 min readMay 23, 2022

Did you recently upgrade to Flutter 3.0 and get the following problem when running flutter doctor ?

[X] Visual Studio develop for Windows
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.

To upgrade Flutter to the latest version on the stable branch, open the command prompt and run flutter upgrade.

Figure 1: Flutter doctor found 1 issue

Do not worry as this is a warning and not an error but still we are going to solve it.

If you go to the provided link and download the Visual Studio 2022 Community version from the home page, the problem will stay because it says specifically which workload to download. Figure 2 shows the problem that may arise when the wrong workload is downloaded.

Figure 2: Problem when wrong Visual Studio is downloaded

Please download the correct version from this link.
Visual Studio setup for desktop development with C++

After downloading the installer, it will download the required workload. You just have to click on “Install” when the dialog box comes up. The setup will take some time based on your machine.

After the setup is completed, run flutter doctor again so make sure your Flutter setup is ready for development for everything.

Figure 3: Flutter doctor with no issues

You may check your flutter version by running flutter --version on your command prompt.

Thank you for reading. Please support by leaving claps and sharing with your network.

Your support is appreciated!

Happy coding!

Hamza Mateen

Front-End Development Lead at MiFinity | All about Flutter Application Development & Life in Ireland. Flutter App Developer | Lecturer | Writer.