Advertisements
Home > ADX > Could not load file or assembly ‘Microsoft.Cloud.InstrumentationFramework.Events’

Could not load file or assembly ‘Microsoft.Cloud.InstrumentationFramework.Events’

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
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: