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
I had a similar problem. NuGet showed the package successfully installed, but the reference was not added to my project.
Running
also didn't help as the package manager kept saying it's already installed
I finally added it manually by editing the csproj file and adding these lines:
..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll
True
That solved the problem.