Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • PerKlitgaard 4 posts 44 karma points
    Jun 04, 2024 @ 04:43
    PerKlitgaard
    0

    Could not load file or assembly 'dnYara, Version=2.1.4.0 after upgrade to 13

    I have upgraded from 11.5 -> 13 and among others i get this error when running the project System.IO.FileNotFoundException: 'Could not load file or assembly 'dnYara, Version=2.1.4.0, Culture=neutral, PublicKeyToken=94e1c31412563c75'. The system cannot find the file specified.'

    I can only find a dnYara 2.1 nuget package and that doesn't seem to help

  • PerKlitgaard 4 posts 44 karma points
    Jun 04, 2024 @ 08:47
    PerKlitgaard
    0

    Looks like it could be IronPdf 2024.5.2 that causes the problems. Tried to downgrade it but that gives me a lot of other problems.

  • PerKlitgaard 4 posts 44 karma points
    Jun 05, 2024 @ 19:02
    PerKlitgaard
    0

    Tried to remove ironPdf and the upgrading. Then installed IronPdf again

    and gets System.IO.FileNotFoundException: 'Could not load file or assembly 'SkiaSharp, Version=2.88.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756'. The system cannot find the file specified

    adding this manually wont help, then there is another one missing.

  • PerKlitgaard 4 posts 44 karma points
    Jun 06, 2024 @ 08:42
    PerKlitgaard
    100

    IronPdf had som of the solution in https://www.skrift.io/issues/automatically-creating-thumbnail-pdfs-in-umbraco/

    But the appsettings.json needed one more class to exclude So it ended up like this "TypeFinder": { "AssembliesAcceptingLoadExceptions": "*", "AdditionalAssemblyExclusionEntries": [ "SkiaSharp", "PdfToSvg", "Ninject", "ZXing.ImageSharp.V2", "zxing", "DocumentFormat.OpenXml", "OpenXmlPowerTools", "Markdig.Signed", "RtfPipe", "DotNetZip", "Babel.Licensing", "Azure.Data.Tables", "DeviceId.Windows", "DeviceId.Linux", "DeviceId.Mac", "DeviceId", "BouncyCastle.Crypto", "Mono.Posix.NETStandard" ] },

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies