Visual Studio logo

Fixing the “Could not load file or assembly or one of its dependencies” error

This post describes how to fix the “Could not load file or assembly ‘[assemblyname]’ or one of its dependencies. An attempt was made to load a program with an incorrect format.” error.  The solution described in this post shows you how to resolve the issue when you’re deploying from Visual Studio, but get an error somewhat like above when deploying to IIS or when opening your website after the deployment. This applies to your local development environment. Problem Especially while installing a new dev machine,…Continue reading Fixing the “Could not load file or assembly or one of its dependencies” error