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.

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.

- Build and run the Project.
🙂


![[Step by Step] Using Custom Connectors in Copilot Studio](https://rajeevpentyala.com/wp-content/uploads/2024/10/record-ezgif.com-video-to-gif-converter-7.gif)
Leave a reply to Parimala Renganathan Cancel reply