visual studio 2013 - script files do not work after uploading web app to azure with web deploy configuration set to release -


i have made mvc5 web app hosting on azure. using visual studios web deploy tool upload files azure. if upload web deploy set debug website works flawlessly once on azure. however, if upload web deploy set release scripts ( jquery ) appear disabled. assuming jquery disabled because jquery enabled menu on home page not work. please note problem not related visual studios internal build (release or debug) rather web deploy setting when publishing web app.

here bundleconfig file contents public class bundleconfig { public static void registerbundles(bundlecollection bundles) { bundles.add(new scriptbundle("~/bundles/jquery").include( "~/scripts/jquery-2.1.3.min.js", "~/scripts/gridmvc.min.js", "~/scripts/jquery.validate.unobtrusive.min.js", "~/scripts/jquery.datetimepicker.js", "~/scripts/jquery-ui-1.11.4.min.js", "~/scripts/jquery.validate.min.js", "~/scripts/sidemenu.js", "~/scripts/bootstrap.min.js" )); bundles.add(new stylebundle("~/styles/css").include( "~/content/bootstrap.css", "~/content/bootstrap.spacelab.min.css", "~/content/site.css", "~/content/sidemenu.css", "~/content/gridmvc.css", "~/content/jquery.datetimepicker.css", "~/content/themes/base/dialog.css", "~/content/themes/base/theme.css", "~/content/themes/base/base.css" ));

        // use development version of modernizr develop , learn from. then, when you're         // ready production, use build tool @ http://modernizr.com pick tests need.         bundles.add(new scriptbundle("~/bundles/modernizr").include(                     "~/scripts/modernizr-*"));      } 


Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -