Could not load file or assembly Exception from HRESULT: 0x80131040

前端 未结 6 929
隐瞒了意图╮
隐瞒了意图╮ 2020-12-24 12:42

I created my first MVC 4 project and it works perfectly on local server. But when I publish it on to local folder and upload the folder contents to hosting server. I try to

6条回答
  •  时光说笑
    2020-12-24 13:25

    Try this:

    • Edit the *.pubxml file in the PublishProfiles folder
    • set DeleteExistingFiles true
    • update all nugget packages, rebuild, republish and voila, issue resolved!

    ...worked for me when I had the same problem.

提交回复
热议问题