Copied to clipboard

Flag this post as spam?

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


  • Barish Sever 20 posts 123 karma points
    May 03, 2019 @ 11:16
    Barish Sever
    1

    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.

  • Damiaan 442 posts 1302 karma points MVP 6x c-trib
    May 03, 2019 @ 11:18
    Damiaan
    0

    Are you using ClientDependency (a bundle & minification package) bundled with Umbraco?

  • Barish Sever 20 posts 123 karma points
    May 03, 2019 @ 12:48
    Barish Sever
    0

    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?

    V7

    V8

  • Barish Sever 20 posts 123 karma points
    May 06, 2019 @ 12:18
  • Bassem Elkadeem 3 posts 74 karma points
    May 04, 2021 @ 07:58
  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies