asp.net mvc - ASPNETBOILERPLATE - MVC Bundle out of memory error -


i added following method mpabundleconfig.cs file. added similar method js files.

        private static void exlntaddmpacsslibs(bundlecollection bundles, bool isrtl)     {         bundles.add(             new stylebundle("~/bundles/common/exlnt/css" + (isrtl ? "rtl" : ""))                 .include(stylepaths.bootstrap_datepicker)                   .include(stylepaths.bootstrap_datetimepicker)                  .include(stylepaths.bootstrap_datatables)                  .include(stylepaths.datatables)                  .include(stylepaths.select2)                  .include(stylepaths.select2_bootstrap)                  .forceordered()             );     } 

soon run application, after login, error:

exception of type 'system.outofmemoryexception' thrown.

all i'm trying add js/css files added solution, after getting solution aspnetzero download. ideas on how can resolve error?

@hikalkan - response, looked little closer @ issue , found root cause. doing code merge upgrade v4.2, when copied on existing code base, mistakenly copied js file paths in "stylepaths.cs" files , css file paths "scriptpaths.cs" file!!


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -