Razor 2 to Razor 3 MVC 5

前端 未结 3 1141
别跟我提以往
别跟我提以往 2021-02-02 05:44

I\'ve been working on an MVC 4 solution, and I\'ve been trying to upgrade it to MVC 5. I\'ve followed the steps outlined here.

I\'ve followed it, and now whenever I run

3条回答
  •  误落风尘
    2021-02-02 06:18

    In your Web.config(-s) make sure assemblyBinding contains the proper version for the assembly System.Web.WebPages.Razor and System.Web.Mvc.

    
      
            
            
      
    
      
        
        
      
    
    

    And make sure that razor sectionGroup in ConfigSections reference latest versions as well:

    
        

提交回复
热议问题