Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Thiago Custodio 2 posts 22 karma points
    Feb 18, 2014 @ 22:14
    Thiago Custodio
    0

    Umbraco 7.0.4 Bundling and Minification not working

    I'm trying to use the Bundling and Minification feature. Every time it returns a 404 status. I manually added my virtual prefix path in web.config ("umbracoReservedPaths" variable) but it still not working. 

    I also added the version 1.1.0 running the command:

    Install-Package Microsoft.AspNet.Web.Optimization -Version 1.1.0

    Any ideas?

  • JJ 41 posts 83 karma points
    Mar 11, 2014 @ 19:19
    JJ
    0

    bump 

  • Yasir Butt 161 posts 371 karma points
    Mar 11, 2014 @ 23:20
    Yasir Butt
    0

    Hi,

    Here is tricks which i used in 6.1.6

    1. Global.cs should be inherit with ApplicationEventHandler

    2. override event ApplicationStarted. Below is code

    protected override void ApplicationStarted(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext)

    {  

                BundleConfig.RegisterBundles(BundleTable.Bundles);

     }

    I assume that other formalities you already done. if you still have problem let me know i will share BundleConfig.cs as well

    Yasir

Please Sign in or register to post replies

Write your reply to:

Draft