Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Propose Windows Visual Studio Build Tools #7484

Merged
merged 3 commits into from
Sep 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/development/platform-integration/desktop.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ you need the following software:
For Windows desktop development,
you need the following in addition to the Flutter SDK:

* [Visual Studio 2022][] When installing Visual Studio,
* [Visual Studio 2022][] or [Visual Studio Build Tools 2022][]
When installing Visual Studio or only the Build Tools,
Copy link
Member

@cbracken cbracken Sep 1, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here and below: Since most users will be more comfortable with a graphical IDE to go with their install, and because it's analogous to what we recommend for macOS (a full Xcode install), I'd phrase this something like:

* [Visual Studio 2022][] When installing Visual Studio,
  select the "Desktop development with C++" workload,
  including all of its default components,
  to install the necessary C++ toolchain and
  Windows SDK header files. Alternatively, 
  [Visual Studio Build Tools 2022][] can be installed if
  only the Windows command-line tools are desired.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This sounds like you don't need to install the C++ workload with Build tools in order to be able to develop in windows.
My proposal:

Alternatively, [Visual Studio Build Tools 2022][] 
can be installed with the same workload if
only the Windows command-line tools are desired.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cbracken any opinions? Thx :)

select the "Desktop development with C++" workload,
including all of its default components,
to install the necessary C++ toolchain and
Expand All @@ -68,6 +69,7 @@ you need the following in addition to the Flutter SDK:
{{site.alert.end}}

[Visual Studio 2022]: https://visualstudio.microsoft.com/downloads/
[Visual Studio Build Tools 2022]: https://visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-2022

### Additional macOS requirements

Expand Down
4 changes: 3 additions & 1 deletion src/get-started/install/_windows-desktop-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
For Windows desktop development,
you need the following in addition to the Flutter SDK:

* [Visual Studio 2022][] When installing Visual Studio
* [Visual Studio 2022][] or [Visual Studio Build Tools 2022][]
When installing Visual Studio or only the Build Tools,
you need the "Desktop development with C++" workload installed
for building windows, including all of its default components.

Expand All @@ -19,3 +20,4 @@ For more information, see [Desktop support for Flutter][]

[Desktop support for Flutter]: {{site.url}}/desktop
[Visual Studio 2022]: https://visualstudio.microsoft.com/downloads/
[Visual Studio Build Tools 2022]: https://visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-2022