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

后端 未结 20 2088
走了就别回头了
走了就别回头了 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条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-09 01:10

    For me Microsoft.Web.Infrastructure.dll was missing from the bin folder, it wasn't set to copy local in the project. Copied the dll from another project in the solution and the page loads.

提交回复
热议问题