Error since adding DownloadLatestServerVersion method to my plugin

Hi,

We are curently trying to include Server project into our existing plugin.

From the documentation I added the following references to our project : 

Visual Studio Solution Explorer showing a list of references in a project, including various SDL and System libraries.

Once done, I created a method that Retrieve the project from the server (as explained in the documentation.

At this point, everything is fine and working well.

Now, I want to download the files (again with the explanation found in the documentation)

And the once I added this line : project.DownloadLatestServerVersion(file.Id, null, false);

Trados doesn't want to be run with my plugin and gives me the following error when launched in debug: 

Error dialog box stating 'An unexpected error has occurred while loading the application plug-ins. Cross-thread operation not valid: Control 'SplashScreenForm' accessed from a thread other than the thread it was created on.'

This error when launched manually : 

Error dialog box stating 'Cannot load the plug-in defined in 'GSStudioWizard.plugin.xml'. The plug-in contains references to assemblies that have not been validated for use with third-party plug-ins.' with a table highlighting 'Sdl.ProjectApi' assembly, version '17.0.0.0', and a validation error 'Assembly reference is not public.'

Did i do something wrong ?

Thanks for your help,

Regards,

Jean-François.



Generated Image Alt-Text
[edited by: RWS Community AI at 6:06 AM (GMT 0) on 15 Nov 2024]