Skip to content

Self-contained release #1427

Description

@KoalaBear84

It's great that ImageGlass 9.x now uses .NET 6, and maybe in 2 months .NET 7? 😜

Is your feature request related to a problem? Please describe.

I'm relating to this line in the readme:
ImageGlass 9 uses .NET 6. If you are unable to install .NET 6, you can still use version 8.

The 'problem' of the need to install .NET can be solved by creating a self-contained release. I'm not sure how that will work with the Microsoft Store etc.

Describe the solution you'd like

Example command:
dotnet publish --configuration Release --framework net6.0 --runtime win-x64 -p:PublishSingleFile=true --self-contained -p:PublishTrimmed=true -p:TrimMode=partial

Not sure if -p:TrimMode=partial is also supported in .NET 6. Maybe the PublishSingleFile will already be nice, it will result in a lot less files.

https://learn.microsoft.com/en-us/dotnet/core/deploying/

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions