.net – How to resolve runtime assembly binding issue


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

Leave a Reply

Your email address will not be published. Required fields are marked *