Add *.dll dependencies to *.sdlplugin file

I had my plugin project has some *.dll dependencies and I want them to be embedded in the *.sdlplugin file

is it possible ?

Parents
  • Hi,

    AFAIK you've got only three ways to ship dependency dlls with your sdlplugin. Problem is Studio (dotnet) should be able to resolve this dependencies, when plugin is loaded. As sdlplugin is in a local directory dlls are unzipped and placed in a local Folder. DotNet doesn't know this Folder and can resolve this dlls.

    1. put these dlls in sdl Trados Studio Installation Directory

    2. deploy These dlls to GAC

    3. Use ILMerge, which builds one single dll (includes plugins and dependencies), before it is included in sdlplugin file by build process (take care about licensing issues if dependencies are third party libs)

    Markus

Reply
  • Hi,

    AFAIK you've got only three ways to ship dependency dlls with your sdlplugin. Problem is Studio (dotnet) should be able to resolve this dependencies, when plugin is loaded. As sdlplugin is in a local directory dlls are unzipped and placed in a local Folder. DotNet doesn't know this Folder and can resolve this dlls.

    1. put these dlls in sdl Trados Studio Installation Directory

    2. deploy These dlls to GAC

    3. Use ILMerge, which builds one single dll (includes plugins and dependencies), before it is included in sdlplugin file by build process (take care about licensing issues if dependencies are third party libs)

    Markus

Children