1

if you're getting an issue like this:

$ flutter build windows
CMake Error at CMakeLists.txt:3 (project):
 Generator
 Visual Studio 16 2019
 could not find any instance of Visual Studio.
Unable to generate build file

It's because flutter doesn't support visual studio 2026 yet: https://github.com/flutter/flutter/blob/f35a2875aecafd728932621ae41a1ac4099e16a6/packages/flutter_tools/lib/src/windows/visual_studio.dart#L184-L187

So, meanwhile flutter updates their sdk, revert to the older visual studio 2022 version

asked Nov 15 at 22:22
New contributor
rando is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
1
  • 2
    If you want to share your knowledge on Stack Overflow, you still need to follow Question/Answer format: write a question post which contains only a problem, and post an answer with a solution. See also stackoverflow.com/help/self-answer Commented Nov 15 at 23:36

0

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.