Could not load file or assembly 'Microsoft.Web.Infrastructure,

后端 未结 20 2089
走了就别回头了
走了就别回头了 2020-12-09 00:57

I tried to upload my web site to a server. It was working fine with my local host, so I uploaded everything in my localhost wwwroot folder to the server and cha

20条回答
  •  甜味超标
    2020-12-09 01:04

    On my machine the Nuget dependency wasn't downloaded correctly, the lib folder inside the nuget package didn't exist, hence the error.

    Before

    I renamed the Nuget Package in the packages folder and Nuget redownloaded it correctly with the necessary lib folder.

    After

提交回复
热议问题