I am using Visual Studio 2012 RC
I created an ASP.NET 4 web application / internet application
In the view, I have this code:
<script type="text/javascript"> $(function () { alert("Test"); }); </script>
Despite a lengthy search, I cannot get Bundling / Minification to work. In _Layout.cshtml, I have the following. I did not do anything. Can someone please tell me what I need to do? Many thanks.
@Styles.Render("~/Content/themes/base/css", "~/Content/css") @Scripts.Render("~/bundles/modernizr") @*This line Does Not Work*@ @Scripts.Render("~/Scripts/js") @*This Line Does Work*@ <script type="text/javascript" src="~/Scripts/jquery-1.7.2.js"></script>
user1384117
source share