ASP.NET MVC on IIS 7.5

前端 未结 28 2392
北荒
北荒 2020-11-22 11:33

I\'m running Windows 7 Ultimate (64 bit) using Visual Studio 2010 RC. I recently decided to have VS run/debug my apps on IIS rather than the dev server that comes with it. <

28条回答
  •  礼貌的吻别
    2020-11-22 12:20

    For me, the solution was to add the NuGet package Microsoft.AspNet.WebPages (plus it's Razor and Infrastructure dependencies) to my web project.

    Infrastructure had to be forcefully reinstalled as it was not added as a reference at first.

提交回复
热议问题