Trados2015SP3 was released so I built my plugin on Trados 2015 SP3 environment. But plugin doesn't work if plugin was built on SP3 environment.(Please note that I didn't have any problems on SP2)
My plugin consists of .sdlplugin and class library(.dll) under Trados install folder.
But plugin could not load class library(.dll) correctly.
Here is fusionlog.
.
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Test.ClassLibraryTest, Version=1.0.6275.26138, Culture=neutral, PublicKeyToken=69f752e6db3550ab
LOG: GAC Lookup was unsuccessful.
LOG: Attempting download of new URL file:///C:/Program Files (x86)/SDL/SDL Trados Studio/Studio4/Test.ClassLibraryTest.DLL.
LOG: Assembly download was successful. Attempting setup of file: C:\Program Files (x86)\SDL\SDL Trados Studio\Studio4\Test.ClassLibraryTest.dll
LOG: Entering run-from-source setup phase.
LOG: Assembly Name is: Test.ClassLibraryTest, Version=1.0.6275.26237, Culture=neutral, PublicKeyToken=69f752e6db3550ab
WRN: Comparing the assembly name resulted in the mismatch: Revision Number
ERR: The assembly reference did not match the assembly definition found.
Here is assembly version.
PS C:\Program Files (x86)\SDL\SDL Trados Studio\Studio4> [System.Reflection.Assembly]::LoadFrom("C:\Program Files (x86)\
SDL\SDL Trados Studio\Studio4\Test.ClassLibraryTest.dll").GetName().Version
Major Minor Build Revision
----- ----- ----- --------
1 0 6275 26237
If plugin was built on SP3 environment, why does Trados try to load incorrect version assemblies?
Please note that when i replaced files under C:\Program Files (x86)\MSBuild\SDL\SDLTradosStudio\12 with SP2 and built again, plugin worked fine.
Does anyone meet same problem?
Is there any solutions for this problem ?
Best regards,
Masayuki