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

后端 未结 20 2018
走了就别回头了
走了就别回头了 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
    2020-12-09 01:17

    I found that even though it worked on my dev box, the assembly wasn't added to the project. Search for Microsoft.Web.Infrastructure in NuGet and install it from there. Then, make sure it has Copy Local selected.

提交回复
热议问题