Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile in a single file #489

Open
kata32 opened this issue Nov 29, 2024 · 1 comment
Open

Compile in a single file #489

kata32 opened this issue Nov 29, 2024 · 1 comment

Comments

@kata32
Copy link

kata32 commented Nov 29, 2024

If you add these directives to the project it will create a single file, better for a portable build.

<PublishSingleFile>true</PublishSingleFile>
<IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract>
<DebugType>embedded</DebugType>
@cyanfish
Copy link
Owner

cyanfish commented Jan 2, 2025

I've tried that but there are some downsides, in particular with separate files I'm able to strip out some unneeded files (not caught by trimming) that shrink the installer size substantially.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants