Skip to content

[Proposal]Generated windows files should be git ignored by default #100291

@Ldev007

Description

@Ldev007

Steps to Reproduce

  • Just run a flutter project for web or android it will still generate files needed for windows build

Expected results:

  • Supposedly the build files only for specific files should be generated.

Actual results:

  • Windows related build files are also generated even when we just ran the app on web or android platform.

Not much details required, I just would like flutter team to please add the build files related to windows into .gitignore automatically just like it is done for other ones else it is a bit of a frustrating thing for one to discard them. Yeah one can put them manually into .gitignore and that is what I am doing currently but what if one doesn't knows that even ? 😅


No code sample required running any flutter app will reproduce this issue.


The names of additional 2 files are mentioned below :

  1. generated_plugin_registrant.h
  2. generated_plugins.cmake

I don't think so that any code will be needed specifically to reproduce this issue or if any logs would help in debugging the same if needed please do let me know in the comments and I will edit and add the required code/log output below.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projecta: buildBuilding flutter applications with the toolc: proposalA detailed proposal for a change to Flutterplatform-windowsBuilding on or for Windows specificallyteam-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