Friday, 15 November 2013

Section already defined: "Scripts"

Section already defined: "Scripts".

Solution 1: Your _Layout may not have the “Scripts” defined and the cshtml has it defined. In that case add the following in the _Layout:
@RenderSection("Scripts",required:false)

No comments:

Post a Comment