Skip to content

System.DllNotFoundException while running the published app #1396

@burhanuddin353

Description

Application: Test.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.DllNotFoundException
   at QuestPDF.Skia.SkNativeDependencyCompatibilityChecker+API.check_compatibility_by_calculating_sum(Int32, Int32)
   at QuestPDF.Skia.SkNativeDependencyCompatibilityChecker.ExecuteNativeCode()
   at QuestPDF.Helpers.NativeDependencyCompatibilityChecker.CheckIfExceptionIsThrownWhenLoadingNativeDependencies()

Exception Info: System.Exception
   at QuestPDF.Helpers.NativeDependencyCompatibilityChecker.<TestOnce>g__ThrowCompatibilityException|18_0(System.Exception)
   at QuestPDF.Helpers.NativeDependencyCompatibilityChecker.TestOnce()
   at QuestPDF.Helpers.NativeDependencyCompatibilityChecker.Test()
   at QuestPDF.Skia.SkNativeDependencyCompatibilityChecker.Test()
   at QuestPDF.Helpers.Helpers..cctor()

Exception Info: System.TypeInitializationException
   at QuestPDF.Helpers.Helpers.get_ApplicationFilesPath()
   at QuestPDF.Settings..cctor()

Exception Info: System.TypeInitializationException
   at QuestPDF.Settings.set_License(System.Nullable`1<QuestPDF.Infrastructure.LicenseType>)
   at Test.Program.Main()

Getting this exception while running the app after publishing. It builds perfectly but after publish, it gives this error.

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