Workaround for "Failed to locate assembly 'Gentle.Framework, Version=1.5.0.29053,...

Discussion in 'MediaPortal 1.1.0 RC 1 & 2' started by arion_p, April 15, 2010.

  1. arion_p
    • Premium Supporter

    arion_p Retired Team Member

    Joined:
    February 7, 2007
    Messages:
    3,352
    Likes Received:
    1,447
    Occupation:
    Developer
    Location:
    Athens
    Ratings:
    +1,522 / 0
    Home Country:
    Greece Greece
    Show System Specs
    After upgrading to 1.1.0 RC2, some users are getting the following error (mainly when running TV Server Configuration):
    As already noted in our Home Page news release, this is caused by by 3rd party plugins like "For The Record" and IRSS (specifically the TV3 Blaster Plugin) because they reference an old version (1.5.0.29053) of Gentle Framework libraries. The affected plugins need to be updated by their authors to reference the correct version of Gentle Framework libraries that are included in the RC2 release of MediaPortal.



    But do not despair. Until the authors update their plugins we have come up with a workarround to allow you to still use the existing versions of these plugins with RC2. All you need to do is add the following lines:
    Code (Text):
    1.       <dependentAssembly>
    2.         <assemblyIdentity name="Gentle.Common"
    3.           publicKeyToken="80b5de62e27be49b"
    4.           culture="neutral" />
    5.         <bindingRedirect oldVersion="1.5.0.29053-1.5.0.29110" newVersion="1.5.0.29111" />
    6.       </dependentAssembly>
    7.       <dependentAssembly>
    8.         <assemblyIdentity name="Gentle.FrameWork"
    9.           publicKeyToken="80b5de62e27be49b"
    10.           culture="neutral" />
    11.         <bindingRedirect oldVersion="1.5.0.29053-1.5.0.29110" newVersion="1.5.0.29111" />
    12.       </dependentAssembly>
    13.       <dependentAssembly>
    14.         <assemblyIdentity name="Gentle.Provider.MySQL"
    15.           publicKeyToken="80b5de62e27be49b"
    16.           culture="neutral" />
    17.         <bindingRedirect oldVersion="1.5.0.29053-1.5.0.29110" newVersion="1.5.0.29111" />
    18.       </dependentAssembly>
    19.       <dependentAssembly>
    20.         <assemblyIdentity name="Gentle.Provider.SQLServer"
    21.           publicKeyToken="80b5de62e27be49b"
    22.           culture="neutral" />
    23.         <bindingRedirect oldVersion="1.5.0.29053-1.5.0.29110" newVersion="1.5.0.29111" />
    24.       </dependentAssembly>
    in the <assemblyBinding> section of the following configuration files:

    • SetupTv.exe.config in %ProgramFiles%\Team MeadiPortal\MediaPortal TV Server
    • TvService.exe.config in %ProgramFiles%\Team MeadiPortal\MediaPortal TV Server
    • Configuration.exe.config in %ProgramFiles%\Team MeadiPortal\MediaPortal
    • MediaPortal.exe.config in %ProgramFiles%\Team MeadiPortal\MediaPortal
    If you have not altered these configuration files yourself, then you can simply download the ones attached in this post that have already been modified with the above changes.

    Note that this will only workaround compatibility issues that relate to the update of Gentle Framework library and show the above error message, either as a dialog window or in the logs!
     

    Attached Files:

    • Like Like x 10
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. gbrayut

    gbrayut New Member

    Joined:
    May 19, 2010
    Messages:
    1
    Likes Received:
    0
    Occupation:
    IT Manager
    Location:
    Salt Lake City, UT
    Ratings:
    +0 / 0
    Home Country:
    United States of America United States of America
    Re: Workaround for "Failed to locate assembly 'Gentle.Framework, Version=1.5.0.29053,

    THANKS! I was having the "Failed to locate assembly 'Gentle.Framework'" issue trying to get the Schedules Direct and LM Remote KeyMap Channel Changer Plugins to work using RC2 and RC3, but this did the trick. Looks like the Schedules Direct plugin is already being updated, but I'll let the LM Remote guys know they need to rev a new version.

    Keep up the great work!
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!