Could not load file or assembly 'DotNetOpenAuth.Core

前端 未结 19 800
太阳男子
太阳男子 2020-12-04 17:22

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         


        
19条回答
  •  情深已故
    2020-12-04 17:53

    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.

提交回复
热议问题