TranslationMemoryImporter importer = new TranslationMemoryImporter(tm.LanguageDirection);
importer.Import(importFilePath);
HResult=-2146233088
Message=The language resource file could not be located.
Source=Sdl.LanguagePlatform.TranslationMemoryApi
StackTrace:
at Sdl.LanguagePlatform.TranslationMemoryApi.FileBasedTranslationMemoryLanguageDirection.AddTranslationUnits(TranslationUnit[] translationUnits, ImportSettings settings)
at Sdl.LanguagePlatform.TranslationMemoryApi.TranslationMemoryImporter.ProcessBufferedTUs(ImportStatistics stats)
at Sdl.LanguagePlatform.TranslationMemoryApi.TranslationMemoryImporter.ImportTranslationUnit(TranslationUnit translationUnit, ImportStatistics stats)
at Sdl.LanguagePlatform.TranslationMemoryApi.TranslationMemoryImporter.ImportTMXFile(TMXReader reader)
at Sdl.LanguagePlatform.TranslationMemoryApi.TranslationMemoryImporter.ImportTMXFile(String fileName)
at Sdl.LanguagePlatform.TranslationMemoryApi.TranslationMemoryImporter.Import(String fileName)
at ImportStudioTM.TMImporter.ImportFile(String tmPath, String importFilePath, ImportSettings importSetting) in D:\PS\DEV\ImportStudioTM\ImportStudioTM\ImportStudioTM\TMImporter.cs:line 30
at ImportStudioTM.Program.Main(String[] args) in D:\PS\DEV\ImportStudioTM\ImportStudioTM\ImportStudioTM\Program.cs:line 71
at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException:
HResult=-2146232828
Message=Exception has been thrown by the target of an invocation.
Source=mscorlib
StackTrace:
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Reflection.Assembly.CreateInstance(String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at Sdl.FileTypeSupport.Framework.Core.Utilities.IntegrationApi.DefaultFileTypeManager.CreateInstance(Boolean autoLoadFileTypes)
at Sdl.LanguagePlatform.TranslationMemoryApi.TranslationMemoryImporter.GetDefaultFileTypeManager()
at Sdl.LanguagePlatform.TranslationMemoryApi.TranslationMemoryImporter.ImportBilingualFile(String fileName)
at Sdl.LanguagePlatform.TranslationMemoryApi.TranslationMemoryImporter.Import(String fileName)
at ImportStudioTM.TMImporter.ImportFile(String tmPath, String importFilePath, ImportSettings importSetting) in D:\PS\DEV\ImportStudioTM\ImportStudioTM\ImportStudioTM\TMImporter.cs:line 30
at ImportStudioTM.Program.Main(String[] args) in D:\PS\DEV\ImportStudioTM\ImportStudioTM\ImportStudioTM\Program.cs:line 71
at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException: Sdl.Core.PluginFramework.PluginFrameworkException
HResult=-2146233088
Message=No Application specific plug-in directory found.
Source=Sdl.Core.PluginFramework
StackTrace:
at Sdl.Core.PluginFramework.DefaultPluginLocator..ctor()
at Sdl.Core.PluginFramework.PluginManager.get_DefaultPluginRegistry()
at Sdl.FileTypeSupport.Framework.Integration.PocoFilterManager.LoadAllDefaultFileTypeDefinitions()
at Sdl.FileTypeSupport.Framework.Integration.PocoFilterManager..ctor(Boolean autoLoadFileTypes)
InnerException: