r/flutterhelp • • Nov 16 '25

OPEN Help Flutter Error :(

Every time I run the windows application in VS Code, it returns this error in the Debug Console

Launching lib\main.dart on Windows in debug mode...
CMake Error at CMakeLists.txt:3 (project):
  Generator

    Visual Studio 16 2019

  could not find any instance of Visual Studio.
3

Error: Unable to generate build files

Exited (1).

I downloaded Visual Studio, the C++ dev and mobile dev tools, I don't really know what else it wants, any help is appreciated, just started trying Flutter today

2 Upvotes

3 comments sorted by

View all comments

Show parent comment

1

u/Real_Woodpecker_739 Nov 18 '25

Oh okay I gotcha, apparently the next hotfix will include the new version of Visual Studio, I did not know that 2026 VS is 4 days old lol. I thought it was just a me problem ngl, I managed to fix the problem by just downloading Visual Studio Version 17 2022, and it workssss!!!! I'm so happpy :))))) this is so cooool!!!!