Copied to clipboard

Flag this post as spam?

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


  • Brenton Mumford 19 posts 40 karma points
    Jun 19, 2013 @ 16:23
    Brenton Mumford
    0

    Sassy For Umbraco Installation Problems

    We've been looking for something exactly like this for a long time - really excited about this package, but am having install trouble.

    On my local 4.11, I'm getting

    Could not load file or assembly 'BundleTransformer.Core, Version=1.6.26.0, Culture=neutral, PublicKeyToken=973c344c93aac60d' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

    On my dev 4.7, I'm getting

     </system.web.webPages.razor>
    Line 244:  <!-- End of added in Umbraco 4.6.2 -->
    Line 245:  <bundleTransformer xmlns="http://tempuri.org/BundleTransformer.Configuration.xsd">
    Line 246:    <core>
    Line 247:      <css>

    Any thoughts? Is this only compatible with 6.0+, or what else? Thanks so much for effort on this!

  • Warren Buckley 2106 posts 4836 karma points MVP 7x admin c-trib
    Jun 19, 2013 @ 16:25
    Warren Buckley
    0

    Hello Brenton,
    I am not sure what would be causing this issue. Please could you try it on a new Umbraco 6.1.1. install and let me know if that works.

    Thanks,
    Warren :) 

  • Brenton Mumford 19 posts 40 karma points
    Jun 19, 2013 @ 16:43
    Brenton Mumford
    0

    I can do that. In the meantime, this is what was added to web.config on my 4.7. Does it look right? It would be awesome if it could run on 4.7, as that's what we have on the production install that I really would like to install this on. But maybe that can wait until after a whole bunch of other people realize how awesome it is and install it and vote it up, right? :)

     

      <bundleTransformer xmlns="http://tempuri.org/BundleTransformer.Configuration.xsd">
        <core>
          <css>
            <minifiers>
              <add name="NullMinifier" type="BundleTransformer.Core.Minifiers.NullMinifier, BundleTransformer.Core" />
            </minifiers>
            <translators>
              <add name="NullTranslator" type="BundleTransformer.Core.Translators.NullTranslator, BundleTransformer.Core" enabled="false" />
            </translators>
          </css>
          <js>
            <minifiers>
              <add name="NullMinifier" type="BundleTransformer.Core.Minifiers.NullMinifier, BundleTransformer.Core" />
            </minifiers>
            <translators>
              <add name="NullTranslator" type="BundleTransformer.Core.Translators.NullTranslator, BundleTransformer.Core" enabled="false" />
            </translators>
          </js>
        </core>
      </bundleTransformer>
  • Brenton Mumford 19 posts 40 karma points
    Jun 19, 2013 @ 16:44
    Brenton Mumford
    0

    By the way, that change to the web.config brought down my whole site, so that's partly why I posted it in here, because removing that piece did bring my 4.11 installation back up fine.

  • Warren Buckley 2106 posts 4836 karma points MVP 7x admin c-trib
    Jun 19, 2013 @ 17:10
    Warren Buckley
    0

    Hmm I am not sure I will try and look to see if I can get it to work with 4.xx

  • Jeavon Leopold 3074 posts 13632 karma points MVP 11x admin c-trib
    Jun 19, 2013 @ 18:11
    Jeavon Leopold
    0

    Only problem is that the installer is not adding the sectionGroup to web.config. It should add:

      <sectionGroup name="bundleTransformer"><section name="core" type="BundleTransformer.Core.Configuration.CoreSettings, BundleTransformer.Core" /><section name="sassAndScss" type="BundleTransformer.SassAndScss.Configuration.SassAndScssSettings, BundleTransformer.SassAndScss" /></sectionGroup>

     Before the </configSections>

  • Jeavon Leopold 3074 posts 13632 karma points MVP 11x admin c-trib
    Jun 19, 2013 @ 18:29
    Jeavon Leopold
    0

    Oh also there is a mismatch between versions of BundleTransformer.Core.dll, I think the CWS.Sassy.dll is built against v1.6.26.0 but the packaged dll is v1.6.28.0

     

  • Warren Buckley 2106 posts 4836 karma points MVP 7x admin c-trib
    Jun 19, 2013 @ 18:32
    Warren Buckley
    0

    Thanks Jeavon for the debugging, I will take a look when I get in tonight to double check the package action stuff & the BundleTransformer DLL stuff

    Cheers,
    Warren  :)

  • Jeavon Leopold 3074 posts 13632 karma points MVP 11x admin c-trib
    Jun 19, 2013 @ 18:34
    Jeavon Leopold
    0

    No worries, quick fix is to add this assembly binding redirect within assemblyBinding element of web.config

          <dependentAssembly>
            <assemblyIdentity name="BundleTransformer.Core" publicKeyToken="973c344c93aac60d" culture="neutral" />
            <bindingRedirect oldVersion="0.0.0.0-1.6.28.0" newVersion="1.6.28.0" />
          </dependentAssembly>

     

  • Brenton Mumford 19 posts 40 karma points
    Jul 03, 2013 @ 21:03
    Brenton Mumford
    1

    By the way, gents, (and if anyone else is anxious to get their hands on this project while waiting for Optimus), a fresh install of 6.0.6 + @jeavon's two fixes in web.config took care of it. Which is great.

  • Adam Maidment 54 posts 163 karma points
    May 21, 2014 @ 15:50
    Adam Maidment
    0

    Yes I can confirm this is working to in 6.2.0.

Please Sign in or register to post replies

Write your reply to:

Draft