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
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.
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"
]
},
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
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.
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.
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" ] },
is working on a reply...