Unable to use GroupShareKit in a Trados Studio plugin

We have a plugin for Trados Studio in which we'd like to use GroupShareKit. However, referencing GroupShareKit via NuGet adds two references to...

  • Sdl.Core.Bcm.BcmModel.dll
  • Sdl.TmService.Sdk.dll

... and when Trados Studio, with the plugin installed, starts it shows this error:

Error dialog titled 'Third party plug-ins' with a message 'Cannot load the plug-in defined in file path...plugin.xml'. It lists two validation errors for SDL assemblies: 'Sdl.Core.Bcm.BcmModel.dll' and 'Sdl.TmService.Sdk.dll', stating 'SDL assembly reference is not public.'

It seems odd that GroupShareKit, developed, (somewhat) documented and made public so that external developers may use it, causes this stumbling block when used in combination with Trados Studio. I wonder why a REST API wrapper needs to use these two Trados Studio-installed DLLs?

I've tried using Romulus Crisan's Assembly Resolver but it makes no difference, although I may not have called AssemblyResolver.Resolve() from the correct location. Tantalisingly, at the end of his blog post Romulus refers to one of his plugins as an example of how to use the Assembly Resolver, but the link is now dead.

I've already included the Studio AssemblyResolver library in Reindex Translation Memories plugin. You can have a look here if you are interested to see how I've included the library.

Has anyone else been able to build a plugin which consumes GroupShareKit?



Generated Image Alt-Text
[edited by: RWS Community AI at 5:02 AM (GMT 0) on 15 Nov 2024]
emoji
Parents
  • Close Studio and run a Repair for the installation by following the steps described below

    Workaround 1: Run a repair installation

    1. Close all RWS applications.
    2. Open the Control Panel:
      • Windows Vista/7Start > Control Panel > Programs > Programs and Features.
      • Windows 8: Right-click on the screen at bottom-left corner and choose Control Panel > Uninstall a Program.
      • Windows 10: Right-click on Start > Control Panel > Select View by: Small Icons > Programs and Features.
    3. Click/highlight the relevant RWS product from the list of installed programs, e.g. gacha neonTrados Studio 2017 SR1, and click Repair. For Trados Studio 2019 / 2021 / 2022, the button is Uninstall/Change > Repair.
    4. Restart Trados Studio.
    emoji
Reply
  • Close Studio and run a Repair for the installation by following the steps described below

    Workaround 1: Run a repair installation

    1. Close all RWS applications.
    2. Open the Control Panel:
      • Windows Vista/7Start > Control Panel > Programs > Programs and Features.
      • Windows 8: Right-click on the screen at bottom-left corner and choose Control Panel > Uninstall a Program.
      • Windows 10: Right-click on Start > Control Panel > Select View by: Small Icons > Programs and Features.
    3. Click/highlight the relevant RWS product from the list of installed programs, e.g. gacha neonTrados Studio 2017 SR1, and click Repair. For Trados Studio 2019 / 2021 / 2022, the button is Uninstall/Change > Repair.
    4. Restart Trados Studio.
    emoji
Children