Skip to content

Bundle command does not respect PublishTrimmed setting from csproj file #4

@connor-lennox

Description

@connor-lennox

Hello!

In using GameBundle for a bit now, I've noticed that even when PublishTrimmed is marked as true in the csproj definition, I also have to provide it in the cli args here for it to be respected. This is caused by https://github.com/Ellpeck/GameBundle/blob/main/GameBundle/Program.cs#L75 - I suspect if neither the trim nor AOT flags are set here then the entire line should be removed from the publish command.

I'm not sure if this is intended behavior or not, but if it isn't then I'm more than happy to implement a fix and open a PR. Just let me know.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions