I am only using the ms web optimization package installed from nuget.
Please see the difference in Umbraco base class between the versions. In v8 I can no longer see ApplicationStarted event. Is it possible to use ApplicationStart event to register bundles?
Global.asax Bundling issue...
Hello,
I have been trying to bundle css and js files as in v7, but with v8 the following error is thrown:
'Global.OnApplicationStarted(object, EventArgs)': no suitable method found to override
When I check the base class "UmbracoApplicationBase", I see that the event is not implemented.
I appreciated any help, thanks.
Are you using ClientDependency (a bundle & minification package) bundled with Umbraco?
Thank you for your reply.
I am only using the ms web optimization package installed from nuget.
Please see the difference in Umbraco base class between the versions. In v8 I can no longer see ApplicationStarted event. Is it possible to use ApplicationStart event to register bundles?
OK I found my answer here:
https://our.umbraco.com/forum/umbraco-8/96341-onapplicationstarted-umbraco-8
i think you should use composing to register bunding
https://our.umbraco.com/documentation/implementation/composing/
https://piotrbach.com/umbraco-scripts-bundling-and-minification
is working on a reply...