Member-only story
Upgrading Flutter — Visual Studio not installed!!
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
.
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.
Please download the correct version from this link.
Visual Studio setup for desktop development with C++