Skip to content

"--self-contained" always present on the command line #874

Open
@tomshane

Description

@tomshane

I'm using the latest version and no matter what arguments I add in the command line, I can't get rid of automatically added --self-contained parameter.

I tried:

* electronize build /target win /dotnet-publish --no-self-contained
* electronize build /target win /dotnet-publish --self-contained false
* electronize build /target win /PublishSingleFile false /PublishReadyToRun false /dotnet-publish --self-contained false
* electronize build /target win /PublishSingleFile false /PublishReadyToRun false /dotnet-publish --no-self-contained

Everytime --self-contained is added to the command:

dotnet publish -r win-x64 -c "Release" --output "C:\Downloads\ReactApp2\ReactApp2.Server\obj\desktop\win\bin" /p:PublishReadyToRun=true /p:PublishSingleFile=true --self-contained

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions