-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing dependencies #242
Comments
Version 6.2.0 Preview 3 was released on February 6, 2025. Version 6.2.0 Preview 3 references version 8.0.1 of the Microsoft logging packages which in turn references version 8.0.2 of the logging abstractions. One guess: Maybe you have some older files in your app folder. |
Hello Thomas, the I have references to the MigraDoc and PdfSharp dlls |
You can start with our IssueSubmissionTemplate, compile it, run it. If that works, then add other NuGet packages one by one along with code that uses the added NuGet package, compile it, test it. If that fails, then you know which NuGet package causes the issue. Here's picture of my app folder: All our assemblies are from February 6, all Microsoft assemblies related to logging are from September 17. |
Your folder screen shot shows some assemblies that we do not use in our application. As I wrote before: A different approach: Download the PDFsharp source code, set the logging reference to 8.0.0 and compile your own assemblies, maybe create your own local NuGet package. |
With update 6.2.0-preview-3 I get runtime exception.
At this line
using (PdfDocument pdfd = new PdfDocument())
I get the exception.
System.IO.FileNotFoundException: 'Could not load file or assembly 'Microsoft.Extensions.Logging.Abstractions, Version=8.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' or one of its dependencies. Das System kann die angegebene Datei nicht finden.'
I already made a new installation of all dependencies and the PDFsharp Migradoc.
How can I solve this issue?
The text was updated successfully, but these errors were encountered: