Could not load file or assembly 'DotNetOpenAuth.Core

前端 未结 19 847
太阳男子
太阳男子 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 18:06

    In my case the MVC4 application was running fine in the VS2012 debugger, but I was getting the "Could not load file or assembly 'DotNetOpenAuth.Core'" error when I publish the application on the server.

    Checking the "Delete all existing files prior to publish" checkbox on the settings tab of Publish Web window solved the issue.

    File System Publishing Settings

提交回复
热议问题