Why does Visual Studio crash opening ASPX with MVC RC1

前端 未结 12 1472
抹茶落季
抹茶落季 2020-12-24 02:36
  • Upgraded from MVC Beta to MVC RC1.
  • Re-pointed all references in the project to point to the new assemblies
  • Rebooted
  • Everything compiles (and
12条回答
  •  抹茶落季
    2020-12-24 03:04

    Try removing all bin/obj directories, and clearing your Temporary ASP.NET Files and %TEMP% directories. Then issue the following commands from a VS2008 command prompt:

    ngen /delete System.Web.Mvc
    ngen /delete System.Web.Abstractions
    ngen update
    

    Also ensure that all your references (MvcContrib, anything else built against MVC) are pointing to the same version of MVC as all the others.

    This seems to have worked for me (so far)

提交回复
热议问题