Workaround for "Failed to locate assembly 'Gentle.Framework, Version=1.5.0.29053,... (1 Viewer)

arion_p

Retired Team Member
  • Premium Supporter
  • February 7, 2007
    3,373
    1,626
    Athens
    Home Country
    Greece Greece
    After upgrading to 1.1.0 RC2, some users are getting the following error (mainly when running TV Server Configuration):
    Failed to locate assembly 'Gentle.Framework, Version=1.5.0.29053, Culture=neutral, PublickeyToken=80b5de62e27be49b'.
    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:
          <dependentAssembly>
            <assemblyIdentity name="Gentle.Common"
              publicKeyToken="80b5de62e27be49b"
              culture="neutral" />
            <bindingRedirect oldVersion="1.5.0.29053-1.5.0.29110" newVersion="1.5.0.29111" />
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="Gentle.FrameWork"
              publicKeyToken="80b5de62e27be49b"
              culture="neutral" />
            <bindingRedirect oldVersion="1.5.0.29053-1.5.0.29110" newVersion="1.5.0.29111" />
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="Gentle.Provider.MySQL"
              publicKeyToken="80b5de62e27be49b"
              culture="neutral" />
            <bindingRedirect oldVersion="1.5.0.29053-1.5.0.29110" newVersion="1.5.0.29111" />
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="Gentle.Provider.SQLServer"
              publicKeyToken="80b5de62e27be49b"
              culture="neutral" />
            <bindingRedirect oldVersion="1.5.0.29053-1.5.0.29110" newVersion="1.5.0.29111" />
          </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!
     

    Attachments

    • config-files.zip
      30.6 KB

    gbrayut

    New Member
    May 19, 2010
    1
    0
    Salt Lake City, UT
    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!
     

    Users who are viewing this thread

    Top Bottom