I got the below assembly load error, while I was running my ADX Portal web site from Visual Studio.

Could not load file or assembly ‘Microsoft.Cloud.InstrumentationFramework.Events’ or one of its dependencies. An attempt was made to load a program with an incorrect format.

could-not-load-assembly
could-not-load-assembly

Issue was not with missing .dll reference, as I already had the “Microsoft.Cloud.InstrumentationFramework.Events.dll” added to my project.

Fix:

  • Enabling an option in my Visual Studio Project fixed the issue.
  • Navigate Tools -> Options -> Project and Solutions
  • Enable “Use the 64 bit version of …” option.
Use 64 bit version
Use 64 bit version
  • Build and run the Project.

🙂

Advertisements
Advertisements

2 responses to “Could not load file or assembly ‘Microsoft.Cloud.InstrumentationFramework.Events’”

  1. Parimala Renganathan Avatar
    Parimala Renganathan

    thanks

  2. Parimala Renganathan Avatar
    Parimala Renganathan

    thanks. worked well..

Leave a reply to Parimala Renganathan Cancel reply

Visitors

2,096,506 hits

Top Posts