Start by creating a new console Application in Microsoft Visual Studio 2010.
Create a Console Application project called Sdl.SDK.ProjectAutomation.Samples.BatchAnalyze.
Add the following libraries as references to your project:
- Sdl.Core.Globalization.dll
- Sdl.Core.Settings.dll
- Sdl.ProjectApi.dll
- Sdl.ProjectAutomation.Core.dll
- Sdl.ProjectAutomation.FileBased.dll
- Sdl.ProjectAutomation.Settings.dll
In addition you also require the following references from the Translation Memory API:
- Sdl.LanguagePlatform.Core.dll
- Sdl.LanguagePlatform.TranslationMemory.dll
- Sdl.LanguagePlatform.TranslationMemoryApi.dll
Make sure to set the project build output location to the SDL Trados Studio 2011 installation folder, e.g. C:\Program Files\SDL\SDL Trados Studio\Studio2. Important note: Set the platform target of your projects to x86.