Skip to content
Discussion options

You must be logged in to vote

I managed to get this working by going deep into the bowels of the bundling code. Here a short recap. In the project where we want to embed some extra files the following targets is added. Note how IncludeNativeLibrariesForSelfExtract is set to true, as discussed in question above.

  <PropertyGroup>
    <PublishSingleFile>true</PublishSingleFile>
    <EnableCompressionInSingleFile>true</EnableCompressionInSingleFile>
    <IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract>

    <IncludeAllContentForSelfExtract>true</IncludeAllContentForSelfExtract>
    <TraceSingleFileBundler>true</TraceSingleFileBundler>
    <FilesToBundleAddArchivesEnable>true</FilesToBundle…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@nietras
Comment options

@nietras
Comment options

Comment options

You must be logged in to vote
1 reply
@vitek-karas
Comment options

Answer selected by nietras
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants