"Could not load file or assembly..." DotNetOpenAuth + MVC3

4

I'm getting the following error

    Could not load file or assembly 'file:///C:\Users\<project path>\bin\DotNetOpenAuth.dll'
    or one of it's dependencies. Operation is not supported. 
    (Exception from HRESULT: 0x80131515)

I get this when I try to add a Controller to my Controllers folder within the MVC3 framework.

I've only recently started using MVC3 and DotNetOpenAuth, I've been using a tutorial to try to learn it, the part I am replicating is this: http://www.asp.net/mvc/tutorials/getting-started-with-aspnet-mvc3/cs/adding-a-model

I can still run the project and everything works fine, I simply cannot add Controllers.

I'm using VS .NET 2010 (64 bit) on Windows 7.

Let me know if there's any additional information that is needed, thank you in advance!

.net
asp.net-mvc-3
dotnetopenauth
.net-assembly
asked on Stack Overflow May 14, 2012 by pcaston2 • edited May 15, 2012 by Jens Björnhager

2 Answers

8
0

Use fslogvw.exe to get .NET to log exactly why an assembly could not be loaded.

answered on Stack Overflow May 15, 2012 by Andrew Arnott

User contributions licensed under CC BY-SA 3.0