I am trying to put together an app that imports SDLXLIFF or TTX files. When calling either
_import.FileTypeManager = new PocoFilterManager(true);
or
_import.FileTypeManager = _import.GetDefaultFileTypeManager();
I am getting the error message "No Application specific plug-in directory found". How can the application-specific plug-in directory be set?
Thank you
Ziad
using Sdl.FileTypeSupport.Framework;
using Sdl.FileTypeSupport.Framework.Integration;
FileBasedTranslationMemory tm = new FileBasedTranslationMemory("C:\\Users\\test\\Desktop\\Sample Files\\en-de.sdltm");
TranslationMemoryImporter _import = new TranslationMemoryImporter(tm.LanguageDirection);
_import.ImportSettings.IsDocumentImport = true;
_import.FileTypeManager = new PocoFilterManager(true);
//_import.FileTypeManager = _import.GetDefaultFileTypeManager();
_import.Import("C:\\Users\\test\\Desktop\\TTX\\Configuration.doc.ttx");
Sdl.Core.PluginFramework.PluginFrameworkException wurde nicht behandelt. HResult=-2146233088 Message=No Application specific plug-in directory found. Source=Sdl.Core.PluginFramework StackTrace: bei Sdl.Core.PluginFramework.DefaultPluginLocator..ctor() bei Sdl.Core.PluginFramework.PluginManager.get_DefaultPluginRegistry() bei Sdl.FileTypeSupport.Framework.Integration.PocoFilterManager.LoadAllDefaultFileTypeDefinitions() bei Sdl.FileTypeSupport.Framework.Integration.PocoFilterManager..ctor(Boolean autoLoadFileTypes) bei WindowsFormsApplication1.Form1.Form1_Load(Object sender, EventArgs e) in C:\Users\zchama\Documents\Visual Studio 2010\Projects\WindowsFormsApplication2\WindowsFormsApplication2\Form1.cs:Zeile 36. bei System.Windows.Forms.Form.OnLoad(EventArgs e) bei System.Windows.Forms.Form.OnCreateControl() bei System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) bei System.Windows.Forms.Control.CreateControl() bei System.Windows.Forms.Control.WmShowWindow(Message& m) bei System.Windows.Forms.Control.WndProc(Message& m) bei System.Windows.Forms.ScrollableControl.WndProc(Message& m) bei System.Windows.Forms.Form.WmShowWindow(Message& m) bei System.Windows.Forms.Form.WndProc(Message& m) bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) bei System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) InnerException: