احمد صدقی

احمد صدقی

  • 1.7k
  • 91
  • 1.6k

How to use @scripts.render in mvc Layout

Mar 28 2019 5:54 AM
I want to use @Script.render in my Layout view page but i have an error "The name "Script" does not exist in the current context"
This is my try but error occure....
 
 @Styles.Render("~/Content/css")
@Scripts.Render("~/bundles/modernizr")
@Styles.Render("~/Scripts/jquery-1.12.4.min.js")
@Styles.Render("~/ Scripts / jquery - ui - 1.12.1.min.js")

Answers (1)