Skip to content

[tool] Add flutter build windows --config-only #172029

@loic-sharma

Description

@loic-sharma

Background

You can build a Flutter Windows app in Visual Studio once you've built the app once (using flutter build windows or flutter run -d windows). This requires doing a full build of the application, which can take a long time for complex projects.

On iOS, you can run flutter build ios --config-only to generate the necessary build files for the Flutter project to be buildable in Xcode.

Solution

Add a flutter build windows --config-only. This should generate all the files necessary to build a Flutter Windows app in Visual Studio, without actually building the Flutter Windows app.

Metadata

Metadata

Labels

P3Issues that are less important to the Flutter projecta: desktopRunning on desktopc: proposalA detailed proposal for a change to Flutterplatform-windowsBuilding on or for Windows specificallyr: fixedIssue is closed as already fixed in a newer versionteam-windowsOwned by the Windows platform teamtoolAffects the "flutter" command-line tool. See also t: labels.triaged-windowsTriaged by the Windows platform team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions