Kendo bundling broken by new System.Web.Optimization 1.1.0

1 posts, 0 answers
  1. Alex
    Alex avatar
    16 posts
    Member since:
    Oct 2011

    Posted 02 Jul 2013 Link to this post

    I recently updated several nuget packages in my MVC4 solution. After the update none of the kendo styles or js files were being found. I narrowed it down to the bundling, and identified it was an update to "Microsoft ASP.NET Web Optimization Framework" 1.1.0

    The release notes (http://aspnetoptimization.codeplex.com/releases/view/101096) has a section at the bottom that explains why.

    I thought of 3 potential solutions:
    1. Change the IgnoreList to be applied to the new directory filters instead (I didn't try this one)
    2. Include the kendo css and js files without using wildcards (tried this one and it works)
    3. Include the non-minified versions of the files, taken from the 'src' folder, in my solution (tried this one and it works)

    I've ended up using option 3 as it seems to work best with the intention of how the MV4C bundling should work (non-minified used in debug so can debug into kendo code, and then minified version used in release).

    I'm mainly posting to help anyone else who hits this problem, but if anyone has any suggestion why option 3 is not a good option I'd like to hear.

    Also Kendo should probably update the documentation as the current IgnoreList approach no longer works.

Back to Top