The name 'Scripts' does not exists in the current context in MVC

前端 未结 5 2162
被撕碎了的回忆
被撕碎了的回忆 2020-12-07 22:33

In my mvc application, In the _Layout.cshtml has code below...


    
    

        
5条回答
  •  醉话见心
    2020-12-07 23:07

    Make sure your ~/Views/Web.Config adds the System.Web.Optimization namespace:

    
        
          
            
          
        
    
    

提交回复
热议问题