Recibo la siguiente excepción después de instalar ASP.NET MVC 4 Beta en una máquina con ASP.NET MVC 3.
System.InvalidCastException no se manejó con el código de usuario Message = [A] System.Web.WebPages.Razor.Configuration.HostSection no se puede convertir a [B] System.Web.WebPages.Razor.Configuration.HostSection. El tipo A se origina en 'System.Web.WebPages.Razor, Version = 1.0.0.0, Culture = neutral, PublicKeyToken = 31bf3856ad364e35' en el contexto 'Default' en la ubicación 'C: \ Windows \ Microsoft.Net \ assembly \ GAC_MSIL \ System .Web.WebPages.Razor \ v4.0_1.0.0.0__31bf3856ad364e35 \ System.Web.WebPages.Razor.dll '. El tipo B se origina en 'System.Web.WebPages.Razor, Version = 2.0.0.0, Culture = neutral, PublicKeyToken = 31bf3856ad364e35' en el contexto 'Default' en la ubicación 'C: \ Windows \ Microsoft.Net \ assembly \ GAC_MSIL \ System .Web.WebPages.Razor \ v4.0_2.0.0. 0__31bf3856ad364e35 \ System.Web.WebPages.Razor.dll '. Fuente = System.Web.WebPages.Razor
StackTrace:
en System.Web.WebPages.Razor.WebRazorHostFactory.GetRazorSection (String virtualPath) en System.Web.WebPages.Razor.WebRazorHostFactory.CreateHostFromConfig (String virtualPath, String physicalPath) en System.Web.WebromGost System.Web.WebPages.Razor.RazorBuildProvider.CreateHost () en System.Web.WebPages.Razor.RazorBuildProvider.EnsureGeneratedCode () en System.Web.WebPages.Razor.RazorBuildr. GetCompilerTypeFromBuildProvider (BuildProvider buildProvider) en System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders () en System.Web.Compilation.BuildProvidersCompiler.PerformBuild () en System.Web.Compilation.BuildManager.CompileWebFile (VirtualPath virtualPath) en System. , Booleano noBuild, booleano allowCrossApp, booleano allowBuildInPrecompile, booleano throwIfNotFound, booleano asegureIsUpToDate) en System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory (VirtualPath virtualPath, HolepConbjectFactory, Boolean. Web.Mvc.IBuildManager.FileExists (String virtualPath) en System.Web.Mvc.BuildManagerViewEngine.FileExists (ControllerContext controllerContext, String virtualPath) en System.Web.Mvc.VirtualPathProviderViewEngine.GetPathFromGeneralName (ControllerContext controllerContext, List`1 ubicaciones, String name, String controllerName, String areaName, String cacheKey, String [] y buscadasLocations) en System.Web. Mvc.VirtualPathProviderViewEngine. (ControllerContext controllerContext, String viewName, String masterName, Boolean useCache) en System.Web.Mvc.ViewEngineCollection. <> C__DisplayClassc.b__b (IViewEngine e) en System.Web.Mvc.ViewEngineCollection.Find (búsqueda de Func`2, Boolean trackSearchedPaths) en System.Web.Mvc.ViewEngineCollection.FindView (ControllerContext controllerContext, String viewName, String masterName) en System.Web.Mvc .ViewResult.FindView (contexto ControllerContext) en System.Web.Mvc.ViewResultBase.ExecuteResult (contexto ControllerContext) en System.Web.Mvc.ControllerActionInvoker.InvokeActionResult (ControllerContext controllerContext, ActionResult actionResult) en System.Web.Mvc.Controloker. c__DisplayClass1c.b__19 () en System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter (filtro IResultFilter, ResultExecutingContext preContext, continuación de Func`1) en System.Web.Mvc.ControllerActionInvoker. <> c__DisplayClass1c> c__DisplayClass1e.b__1b () en System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters (ControllerContext controllerContext, filtros IList`1, ActionResult actionResult) en System.Web.Mvc.ControllerActionInvoker.InvokeAction controller. Mvc.Controller.ExecuteCore () en [project_namespace] .Controllers.GlobalizationController.ExecuteCore () en [file_path] en System.Web.Mvc.ControllerBase.Execute (RequestContext requestContext) en System.Web.Mvc.ControllerBase.System.Web. Mvc.IController.Execute (RequestContext requestContext) en System.Web.Mvc.MvcHandler. <> C__DisplayClass6. <> C__DisplayClassb.b__5 () en System.Web.Mvc.Async.AsyncResultWrapper. <> C__DisplayClass1.b__0 () en System. Web.Mvc.Async.AsyncResultWrapper. <> C__DisplayClass8`1.b__7 (IAsyncResult _) en System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.End () en System.Web.Mvc.MvcHandler. <>se c__DisplayClas System.Web.Mvc.SecurityUtil.b__0 (Acción f) en System.Web.Mvc.SecurityUtil.ProcessInApplicationTrust (Acción de acción) en System.Web.Mvc.MvcHandler.EndProcessRequest (IAsyncResult asyncResult) en System.Web.Mandlervc.MvcHesult System.Web.IHttpAsyncHandler.EndProcessRequest (resultado IAsyncResult) en System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute () en System.Web.HttpAppecutionStep.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.End () en System.Web.Mvc.MvcHandler. <> C__DisplayClasse.b__d () en System.Web.Mvc.SecurityUtil.b__0 (Acción f) en System.Web. Mvc.SecurityUtil. CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute () en System.Web.HttpApplication.ExecuteStep (paso IExecutionStep, booleano y completadoSincrónicamente)Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.End () en System.Web.Mvc.MvcHandler. <> C__DisplayClasse.b__d () en System.Web.Mvc.SecurityUtil.b__0 (Acción f) en System.Web. Mvc.SecurityUtil. CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute () en System.Web.HttpApplication.ExecuteStep (paso IExecutionStep, booleano y completadoSincrónicamente)b__0 (Acción f) en System.Web.Mvc.SecurityUtil.ProcessInApplicationTrust (Acción acción) en System.Web.Mvc.MvcHandler.EndProcessRequest (IAsyncResult asyncResult) en System.Web.Mvc.MvcHandler.System.Web.IHandlerque.As ( IAsyncResult result) en System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute () en System.Web.HttpApplication.ExecuteStep (paso IExecutionStep, booleano y completadoSincrónicamente)b__0 (Acción f) en System.Web.Mvc.SecurityUtil.ProcessInApplicationTrust (Acción acción) en System.Web.Mvc.MvcHandler.EndProcessRequest (IAsyncResult asyncResult) en System.Web.Mvc.MvcHandler.System.Web.IHandlerque.As ( IAsyncResult result) en System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute () en System.Web.HttpApplication.ExecuteStep (paso IExecutionStep, booleano y completadoSincrónicamente)HttpApplication.IExecutionStep.Execute () en System.Web.HttpApplication.ExecuteStep (paso IExecutionStep, booleano y completadoSincrónicamente)HttpApplication.IExecutionStep.Execute () en System.Web.HttpApplication.ExecuteStep (paso IExecutionStep, booleano y completadoSincrónicamente)
Esto me bloquea por completo y, aunque me gustaría mantener la versión beta, es posible que deba eliminarla por completo para deshacerme de la excepción.