Visual Studio Express 2012 Error in Site.Master “Scripts is not declared”

DZ Coder

New Member
Hi i am just getting into asp.net and SqlServer although have used asp/oracle in the distant past. The following code in the Site.Master file\[code\]<!DOCTYPE html><html lang="en"><head runat="server"> <meta charset="utf-8" /> <title><%: Page.Title %> - My ASP.NET Application</title> <asp:PlaceHolder runat="server"> <%: Scripts.Render("~/bundles/modernizr") %> </asp:PlaceHolder>\[/code\]Throws the Error
1 'Scripts' is not declared. It may be inaccessible due to its protection level.'I'm very slowly getting to grips with the way asp.net does things and any help that can get me over this little hurdle would be much appreciated.Thanks in advance
 
Back
Top