I get the following error when I start my asp net mvc 4 application:
Could not load file or assembly \'DotNetOpenAuth.Core, Version=4.0.0.0,
Culture=neutral
I've seen this happen when deploying an MVC application as bin deploy
. When you right-click on a project and select Add deployable dependencies
VS will add the references to Oauth if you check the box next to ASP .NET Webpages with Razor syntax
.
To fix this, delete the _bin_deployableAssemblies
folder, and your application's bin
folder and then clean and rebuild your application and it will work again.