Skip to content

I have a report info: "The given key '14' was not present in the dictionary." #8

@tigerInLuck

Description

@tigerInLuck

[Error]The given key '14' was not present in the dictionary.
[StackTrace]at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at PdfSharp.Pdf.Signatures.PdfSignatureHandler.AddSignatureComponents(Object sender, EventArgs e)
at PdfSharp.Pdf.PdfDocument.DoSave(PdfWriter writer)
at PdfSharp.Pdf.PdfDocument.Save(Stream stream, Boolean closeStream)
at PdfSharp.Pdf.PdfDocument.Save(Stream stream)

  • Env:
    macOS Version 15.5 (24F74)

  • Dev tool:
    JetBrains Rider 2025.1.3

  • .NET runtime:
    ver 6.0.403

  • PDFsharp-extended:
    ver 1.1.1

please help me to solve the problem , thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions