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.

Maheswaran Monoharan 45 Reputation points
2024-01-29T03:33:52.6133333+00:00

Hi, My application is an on premise app using Framework .net 4.8. Our requirement is to push message into Azure queue from our app. I added Azure.Identity & Azure.Storage.Queues package to my solution. While adding the package, there are some dependencies which added automatically after clicking OK. One of which is System.Diagnostics.DiagnosticSource. It was installed as a part of Azure package. User's image But I am getting this error User's image

Its looking for different version, but I don't know where is this reference coming? I tried adding <assemblybinding> <bindingRedirect> option as well. Not working. Its freshly added azure package & was no prior adding.

Microsoft Identity Manager
Microsoft Identity Manager
A family of Microsoft products that manage a user's digital identity using identity synchronization, certificate management, and user provisioning.
572 questions
{count} vote

Accepted answer
  1. Sumarigo-MSFT 42,516 Reputation points Microsoft Employee
    2024-02-01T05:59:01.3366667+00:00

    @Maheswaran Monoharan Thank you for the question. You have posted the query on Azure Storage forums, for a specialized assistance on on >net query, kindly just re-post the question on Developer Community to receive a focused and immediate assistance from the right set of experts.

    ---Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments

0 additional answers

Sort by: Most helpful