I am having a problem with script bundling and minification with ASP .NET I have tried all popular solution found on internet but still having the same problem.
My <
You can't give your bundle a name that is also the name of an existing directory. Rename the bundle or add a /js to make it work correctly:
bundles.Add(new ScriptBundle("~/Scripts/js").IncludeDirectory("~/Scripts", "*.js").IncludeDirectory("~/Scripts/kendoui", "*.js"));
and
@Scripts.Render("~/Scripts/js")
Any other name that doesn't exist would work as well, e.g.
bundles.Add(new ScriptBundle("~/ScriptMonkey").IncludeDirectory("~/Scripts", "*.js").IncludeDirectory("~/Scripts/kendoui", "*.js"));
...assuming you don't have /ScriptMonkey directory.