Skip to content

Missing embedded resource Ionic.Zip.Resources.ZippedResources.zip causes SFX generation to always fail #17

@SimoneStraccia

Description

@SimoneStraccia

In the _SaveSfxStub method (used to build a self‑extracting ZIP), the code attempts to read an embedded ZIP resource named Ionic.Zip.Resources.ZippedResources.zip. However, that resource is not actually included in the DotNetZip assembly, so GetManifestResourceStream returns null and ZipFile.Read(null) throws an exception. Users cannot generate any SFX stubs as a result.

`
// This line always fails because the resource does not exist:

using (ZipFile zip = ZipFile.Read(executingAssembly.GetManifestResourceStream("Ionic.Zip.Resources.ZippedResources.zip")))
{
// …
}
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions