0

I have some class libraries and to service projects that I am hosting as a service.

This is an old .net framework service and library.

The framework is 4.7.2 and I am utilizing Azure.Communication.Email 1.0.1 and have upgraded all dependent packages.

However, I am facing a lot of issues with dependent library

Eg.:

Message: Could not load file or assembly 'System.Diagnostics.DiagnosticSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

I have a project titled common that is going to send the actual emails where this azure package and dependent packages are installed. How to resolve this, how should I approach to fix these issues.

Installed packages:

enter image description here

2
  • Did you add the System.Diagnostics.DiagnosticsSource NuGet package? Commented Sep 12 at 15:27
  • I have attached all the packages that I installed in the question. I even tried to install all the packages in both class library(common) as well as the service project. Commented Sep 12 at 15:31

1 Answer 1

0

Is the dll file in build output?
Is it in correct version?

What version do you see in references when you check you dll's/exe's manifest?
Checking above might help you troubleshoot, additionally I can recommend trying out this tool: https://github.com/awaescher/Fusion

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.