Cannot load the plug-in for 2014 error.

Hi,

I am trying to move an existing plugin to work with 2014. I tried changing just the properties or starting a new project and using the same code, but I keep getting this error:

“Cannot load the plug-in defined in “Trados2014Plugin.plugin.xml”. The plug-in contains references to SDL assemblies that have not been validated for use with third-party plugins."

The SDL assembly name is Sdl.FileTypeSupport.Framework.Core.Settings and the validation error is “SDL assembly reference is not public"

Thanks,Delfina

  • Please note that I am getting this error even after deleting this assemble and removing the code that is referencing it.

  • Unknown said:

    While we are working on a permanent solution with a future cumulative update (slated for January)....

    Hi,

    Just a couple of days late... but we have just put CU3 into Beta.  This update should provide the necessary fix Daniel referred to.  I have placed it here too for testing : CU3 for Studio 2014

    Regards

    Paul

    [/quote]

    Hi,

    This post may help you.  The solution you need is apparently within CU3 for Studio 2014.  It will probably be released very shortly so you could test it now and post back whether it worked to resolve your problem or not?

    Regards

    Paul

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

  • Hi

    Just to add to this - all going well we will release CU3 tomorrow at 10:30 Berlin time.

    Thanks

    Daniel

    Daniel Brockmann
    Team Trados @ RWS

  • The CU3 helped with this issue and only for  Sdl.FileTypeSupport.Framework.Core.Settings , but now I am getting the same error for  Sdl.FileTypeSupport.Framework.Integration.

    Here is part of the code that I am trying to use and it’s failing because of the missing assembly.

    using Sdl.FileTypeSupport.Framework.Integration;

    namespace Sdl.Sdk.FileTypeSupport.Samples.Bil

    {

       class TmImporter

       {

           public void importXLIFFFile(string tmPath, string importFilePath)

           {

               FileBasedTranslationMemory tm = new FileBasedTranslationMemory(tmPath);

               TranslationMemoryImporter importer = new TranslationMemoryImporter(tm.LanguageDirection);

               importer.ChunkSize = 20;

               GetImpotSettings(importer.ImportSettings);

               importer.BatchImported += new EventHandler<BatchImportedEventArgs>(importer_BatchImported);

               importer.FileTypeManager = new PocoFilterManager(true);

               importer.Import(importFilePath);

           }

      }

    }

    Please note that this is related to :community.sdl.com/.../3760.aspx

  • Hi,

    the sample you are referring to was never meant to be used as a plug-in. that is the reason why the integration assembly is not in the whitelist.

    To sort this out, please use this line to get the file type manager:

    importer.FileTypeManager mgr = DefaultFileTypeManager.CreateInstance(true);

    That should give you the necessary functionality without actually referencing the Sdl.FileTypeSupport.Framework.Integration

    Regards

    Patrik

  • Thanks Patrik,

    I gave that a try and I am getting errors on the “DefaultFileTypeManager” does not exist in the current context. What reference should I add for this?  Also I think it’s related but this line also fails on the error:

    “The type of namespace name “importer” could not be found” so  I am missing a using directive or an assembly reference

    Please advice.

    Delfina

  • I just found the missing assembly is : Sdl.FileTypeSupport.Framework.Core.Utilities.IntegrationApi