Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi everyone, I cannot get my bundle to work. I am using Umbraco version 7.6.3 assembly: 1.0.6361.21154.
I have created folder called App_Start within my project. I have added a class within the folder called BundleConfig.cs
public class BundleConfig : IApplicationEventHandler
public void OnApplicationInitialized(UmbracoApplicationBase umbracoApplication,
public void OnApplicationStarting(UmbracoApplicationBase umbracoApplication,
public void OnApplicationStarted(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext)
I have also added the following code to the appSettings within the webconfig
<add key="umbracoReservedPaths" value="~/umbraco,~/install/,~/bundles/" />
I have also set the debug to false within the webconfig any pointers much appreciated.
What is the problem with your bundle ? Is not rendering anything or just not bundled and minified ?
By the way...I once created a package that allows you to main your bundles through a config file :
Have you added a Global.asax.cs file and changed the Global.asax to reference it?
That's the bit I always forget to do :)
These references help:
Hi everyone, my bundle looks like it's being fired with I step through the debugger, but still no CSS or JS
When I viewed the page source code the bundles are empty
<link href="/bundles/css" rel="stylesheet"/>
You've named the bundle /bundles/style
So hit that in the browser - does that work?
Thanks Steve and thank you everyone for your help much appreciated :)
You're very welcome! Glad to help - definitely been there - amazing what a fresh pair of eyes does to your sanity!
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted