System.web.mvc missing

前端 未结 10 1246
逝去的感伤
逝去的感伤 2020-12-02 14:54

We have an old ASP.NET MVC 3 Web Application, building in VS2010, that fails to compile, since last week\'s security update.

The problem is that the reference to Sys

10条回答
  •  温柔的废话
    2020-12-02 15:42

    I have the same situation: Visual Studio 2010, no NuGet installed, and an ASP.NET application using System.Web.Mvc version 3.

    What worked for me, was to set each C# project that uses System.Web.Mvc, to go to References in the Solution Explorer, and set properties on System.Web.Mvc, with Copy Local to true, and Specific Version to false - the last one caused the Version field to show the current version on that machine.

提交回复
热议问题