Skip to content

DLL bigger than all the other DLLs in my project combined! #683

Open

Description

@MeaningOfLights

Hi Guys,

Love your work, its been working fantastic, my only concern is the size:

Image

Is it possible for you guys to turn off <DebuggerSupport> and the call stack <IlcGenerateStackTraceData> and strip the symbols: <StripSymbols>?

I doubt the DebuggerSupport or StackTrace are needed because to reproduce a problem you simply need the input string & key that causes an error encrypting or decrypting. Plus you can still use WinDbg or Attach a Debugger with symbols, they're just not saved in the DLL.

Activity

  1. peterdettman commented on Jun 3, 2026

    @peterdettman
    Collaborator

    AFAIK we put symbols in a companion .snupkg using the following settings when publishing:

    <IncludeSymbols>true</IncludeSymbols>
    <SymbolPackageFormat>snupkg</SymbolPackageFormat>
    <DebugType>portable</DebugType> <!-- Implicit via default value -->
    

    Recent releases should support trimming, which people have said helped drastically reduce the footprint within their application.

  2. MeaningOfLights commented on Jun 4, 2026

    @MeaningOfLights
    Author

    I tried the trimming and no luck unfortunately. Its not a big issue but is a big question, 5MB worth of code to encrypt/decrypt, really?

    Image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions