Canonical "Hello World" plugin.

We've installed the SDK and created a new project using the "SDL Trados Studio 2014 Plug-in Project" template and read these pages: http://producthelp.sdl.com/SDK/Core/3.0/Index.aspx?s=16202%7C20141208115257%7C0xc95ad61b522121ae552fed5367f2939513b1dcdb# but are none really the wiser. Is there any other good basic getting started resources that I cannot find?

Parents
  • Once you install the SDK you can find some sample applications in this location: C:\ProgramData\SDL\SDK 3.0

    Also you can also have a look at this Studio plugins which are open-source:

     

    Romulus Crisan | Translation Productivity Development Manager | SDL | (twitter) @cromica_82 | (blog) http://www.romuluscrisan.com/

  • Dear, Romulus Crisan

    I have tried some of the files which is in the folder you recommended.
    (C:\ProgramData\SDL\SDK 3.0)
    And, Internet link too.
    (GiHub)

    But, Unfortunately both of them just gave me lots lots of reference errors.
    I guss it's a fault of mine, but I can not figure it out.
    Except this attemps (I mean, SDL API), everything else goes fine.
    My Add-ins of VSTO works fine and other C# projects are all fine.

    Can you figure out the reason why ?
    My Visual Studio's reference folder is fine now.
    (C:\Program Files (x86)\SDL\SDL Trados Studio\Studio3\)

    Regards

  • Can you please send me a list with the files you have in the folder C:\Program Files (x86)\SDL\SDL Trados Studio\Studio3\ ?

    Romulus Crisan | Translation Productivity Development Manager | SDL | (twitter) @cromica_82 | (blog) http://www.romuluscrisan.com/

  • Yap.


    Dlls only, ALL of them.


    antlr.runtime.dll
    Antlr3.Runtime-3.1.3.dll
    Antlr3.Runtime.dll
    ApiTools.dll
    AvalonControlsLibrary.dll
    AxDSOFramer.dll
    Common.Logging.dll
    ConvertAdapterFramework1Support.dll
    Customisation.dll
    DSOFramer.dll
    EncodingTools.dll
    GalaSoft.MvvmLight.dll
    GalaSoft.MvvmLight.Extras.dll
    Hunspellx86.dll
    ICSharpCode.SharpZipLib.dll
    ICSharpCode.SharpZipLib86.dll
    Infragistics4.Documents.Core.v13.1.dll
    Infragistics4.Documents.Excel.v13.1.dll
    Infragistics4.Documents.IO.v13.1.dll
    Infragistics4.Documents.Reports.v13.1.dll
    Infragistics4.Documents.TextDocument.CSharp.v13.1.dll
    Infragistics4.Documents.TextDocument.TSql.v13.1.dll
    Infragistics4.Documents.TextDocument.v13.1.dll
    Infragistics4.Documents.TextDocument.VisualBasic.v13.1.dll
    Infragistics4.Documents.Word.v13.1.dll
    Infragistics4.Math.v13.1.dll
    Infragistics4.Shared.v13.1.dll
    Infragistics4.Undo.v13.1.dll
    Infragistics4.Win.AppStylistSupport.v13.1.dll
    Infragistics4.Win.Misc.v13.1.dll
    Infragistics4.Win.SupportDialogs.v13.1.dll
    Infragistics4.Win.UltraWinCalcManager.v13.1.dll
    Infragistics4.Win.UltraWinCalcManager.v13.1.FormulaBuilder.dll
    Infragistics4.Win.UltraWinChart.v13.1.dll
    Infragistics4.Win.UltraWinDataSource.v13.1.dll
    Infragistics4.Win.UltraWinDock.v13.1.dll
    Infragistics4.Win.UltraWinEditors.v13.1.dll
    Infragistics4.Win.UltraWinExplorerBar.v13.1.dll
    Infragistics4.Win.UltraWinFormattedText.WordWriter.v13.1.dll
    Infragistics4.Win.UltraWinGanttView.v13.1.dll
    Infragistics4.Win.UltraWinGauge.v13.1.dll
    Infragistics4.Win.UltraWinGrid.DocumentExport.v13.1.dll
    Infragistics4.Win.UltraWinGrid.ExcelExport.v13.1.dll
    Infragistics4.Win.UltraWinGrid.v13.1.dll
    Infragistics4.Win.UltraWinGrid.WordWriter.v13.1.dll
    Infragistics4.Win.UltraWinInkProvider.Ink17.v13.1.dll
    Infragistics4.Win.UltraWinListBar.v13.1.dll
    Infragistics4.Win.UltraWinListView.v13.1.dll
    Infragistics4.Win.UltraWinMaskedEdit.v13.1.dll
    Infragistics4.Win.UltraWinPrintPreviewDialog.v13.1.dll
    Infragistics4.Win.UltraWinSchedule.v13.1.dll
    Infragistics4.Win.UltraWinSpellChecker.v13.1.dll
    Infragistics4.Win.UltraWinStatusBar.v13.1.dll
    Infragistics4.Win.UltraWinTabbedMdi.v13.1.dll
    Infragistics4.Win.UltraWinTabControl.v13.1.dll
    Infragistics4.Win.UltraWinToolbars.v13.1.dll
    Infragistics4.Win.UltraWinTree.v13.1.dll
    Infragistics4.Win.v13.1.dll
    Interop.IWshRuntimeLibrary.dll
    Interop.TControlsLib.dll
    JavaPreloader.dll
    log4net.dll
    NHunSpell.dll
    OpenXmlPowerTools.dll
    Oracle.DataAccess.dll
    PostSharp.Laos.dll
    PostSharp.Public.dll
    PowerCollections.dll
    PowerPointBinaryFile.dll
    PowerPointPlugInFilter.dll
    Sdl.Commute.Client.dll
    Sdl.Commute.Contracts.dll
    Sdl.Core.Api.dll
    Sdl.Core.Configuration.dll
    Sdl.Core.DataAccess.dll
    Sdl.Core.FileCheck.dll
    Sdl.Core.Globalization.dll
    Sdl.Core.LanguageProcessing.dll
    Sdl.Core.PluginFramework.dll
    Sdl.Core.PluginFramework.PackageSupport.dll
    Sdl.Core.Processing.Alignment.Api.dll
    Sdl.Core.Processing.Alignment.Common.dll
    Sdl.Core.Processing.Alignment.dll
    Sdl.Core.Settings.dll
    Sdl.Core.TM.Upgrade.dll
    Sdl.Core.Utilities.dll
    Sdl.Core.Utilities.Silverlight.dll
    Sdl.Desktop.Common.dll
    Sdl.Desktop.IntegrationApi.dll
    Sdl.Desktop.IntegrationApi.Extensions.dll
    Sdl.Desktop.Platform.dll
    Sdl.Desktop.Platform.ServerConnectionPlugin.dll
    Sdl.Desktop.Platform.WinForms.dll
    Sdl.DesktopEditor.BasicControls.dll
    Sdl.DesktopEditor.Control.dll
    Sdl.DesktopEditor.Control.Support.dll
    Sdl.DesktopEditor.EditorApi.dll
    Sdl.DesktopLicensing.Core.dll
    Sdl.DesktopLicensing.dll
    Sdl.Enterprise2.Platform.Client.dll
    Sdl.Enterprise2.Platform.Contracts.dll
    Sdl.FileTypeSupport.Bilingual.Itd.dll
    Sdl.FileTypeSupport.Bilingual.Itd.WinUI.dll
    Sdl.FileTypeSupport.Bilingual.SdlXliff.dll
    Sdl.FileTypeSupport.Bilingual.SdlXliff.WinUI.dll
    Sdl.FileTypeSupport.Bilingual.SdlXliff.XmlSerializers.dll
    Sdl.FileTypeSupport.Bilingual.Ttx.dll
    Sdl.FileTypeSupport.Bilingual.WsXliff.dll
    Sdl.FileTypeSupport.Bilingual.Xliff.dll
    Sdl.FileTypeSupport.Filters.BilingualWorkbench.dll
    Sdl.FileTypeSupport.Filters.BilingualWorkbench.WinUI.dll
    Sdl.FileTypeSupport.Filters.Common.dll
    Sdl.FileTypeSupport.Filters.ConvertAdapter.dll
    Sdl.FileTypeSupport.Filters.Excel.dll
    Sdl.FileTypeSupport.Filters.Excel.WinUI.dll
    Sdl.FileTypeSupport.Filters.GenericDelimited.dll
    Sdl.FileTypeSupport.Filters.GenericDelimited.WinUI.dll
    Sdl.FileTypeSupport.Filters.Html.dll
    Sdl.FileTypeSupport.Filters.Html.WinUI.dll
    Sdl.FileTypeSupport.Filters.Icml.dll
    Sdl.FileTypeSupport.Filters.Icml.WinUI.dll
    Sdl.FileTypeSupport.Filters.Idml.dll
    Sdl.FileTypeSupport.Filters.Idml.WinUI.dll
    Sdl.FileTypeSupport.Filters.Inx.dll
    Sdl.FileTypeSupport.Filters.Inx.WinUI.dll
    Sdl.FileTypeSupport.Filters.JavaResource.dll
    Sdl.FileTypeSupport.Filters.JavaResource.WinUI.dll
    Sdl.FileTypeSupport.Filters.Odf.dll
    Sdl.FileTypeSupport.Filters.Odf.WinUI.dll
    Sdl.FileTypeSupport.Filters.PowerPoint.dll
    Sdl.FileTypeSupport.Filters.PowerPoint.WinUI.dll
    Sdl.FileTypeSupport.Filters.PowerPoint2003.dll
    Sdl.FileTypeSupport.Filters.PowerPoint2003.WinUI.dll
    Sdl.FileTypeSupport.Filters.Processors.dll
    Sdl.FileTypeSupport.Filters.Processors.WinUI.dll
    Sdl.FileTypeSupport.Filters.QuarkXPress.dll
    Sdl.FileTypeSupport.Filters.QuarkXPress.WinUI.dll
    Sdl.FileTypeSupport.Filters.QuarkXPress_1.dll
    Sdl.FileTypeSupport.Filters.Resources.dll
    Sdl.FileTypeSupport.Filters.Ttx.dll
    Sdl.FileTypeSupport.Filters.Ttx.WinUI.dll
    Sdl.FileTypeSupport.Filters.Verifiers.GenericTagVerifier.dll
    Sdl.FileTypeSupport.Filters.Verifiers.GenericTagVerifier.WinUI.dll
    Sdl.FileTypeSupport.Filters.Word.dll
    Sdl.FileTypeSupport.Filters.Word.WinUI.dll
    Sdl.FileTypeSupport.Filters.Word2003.dll
    Sdl.FileTypeSupport.Filters.Word2003.WinUI.dll
    Sdl.FileTypeSupport.Filters.Xhtml.dll
    Sdl.FileTypeSupport.Filters.Xliff.dll
    Sdl.FileTypeSupport.Filters.Xliff.MemoQ.dll
    Sdl.FileTypeSupport.Filters.Xliff.WinUI.dll
    Sdl.FileTypeSupport.Filters.Xml.Dita.dll
    Sdl.FileTypeSupport.Filters.Xml.Dita.WinUI.dll
    Sdl.FileTypeSupport.Framework.Adapter.Framework1.dll
    Sdl.FileTypeSupport.Framework.Adapter.TagProcessing.dll
    Sdl.FileTypeSupport.Framework.AdministrationUI.dll
    Sdl.FileTypeSupport.Framework.Core.dll
    Sdl.FileTypeSupport.Framework.Core.Settings.dll
    Sdl.FileTypeSupport.Framework.Core.Utilities.dll
    Sdl.FileTypeSupport.Framework.Implementation.dll
    Sdl.FileTypeSupport.Framework.PreviewControls.dll
    Sdl.FileTypeSupport.Native.FrameMaker.dll
    Sdl.FileTypeSupport.Native.FrameMaker.WinUI.dll
    Sdl.FileTypeSupport.Native.FrameMaker.WinUI_2.dll
    Sdl.FileTypeSupport.Native.FrameMaker_2.dll
    Sdl.FileTypeSupport.Native.GenericDelimited.dll
    Sdl.FileTypeSupport.Native.Html.dll
    Sdl.FileTypeSupport.Native.PDF.dll
    Sdl.FileTypeSupport.Native.PDF.WinUI.dll
    Sdl.FileTypeSupport.Native.RegEx.WinUI.dll
    Sdl.FileTypeSupport.Native.RegEx_1_1.dll
    Sdl.FileTypeSupport.Native.RTF.dll
    Sdl.FileTypeSupport.Native.Xml.FilterSettings_1_2.dll
    Sdl.FileTypeSupport.Native.Xml.WinUI_1_2.dll
    Sdl.FileTypeSupport.Native.Xml_1_2.dll
    Sdl.FileTypeSupport.Processors.PerfectMatch.dll
    Sdl.FileTypeSupport.Processors.Storage.dll
    Sdl.FileTypeSupport.Utilities.SdlXliffConvertor.dll
    Sdl.LanguagePlatform.BeGlobalCommunity.dll
    Sdl.LanguagePlatform.Core.dll
    Sdl.LanguagePlatform.ETSConnector.dll
    Sdl.LanguagePlatform.IO.dll
    Sdl.LanguagePlatform.Lingua.dll
    Sdl.LanguagePlatform.MTConnectors.BeGlobalCommunity.dll
    Sdl.LanguagePlatform.MTConnectors.Google.dll
    Sdl.LanguagePlatform.MTConnectors.LanguageWeaver.dll
    Sdl.LanguagePlatform.ServerBasedTranslationMemory.Client.dll
    Sdl.LanguagePlatform.ServerBasedTranslationMemory.Contracts.dll
    Sdl.LanguagePlatform.Stat.dll
    Sdl.LanguagePlatform.TranslationMemory.dll
    Sdl.LanguagePlatform.TranslationMemoryApi.dll
    Sdl.LanguagePlatform.TranslationMemoryImpl.dll
    Sdl.LanguagePlatform.TranslationMemoryMigrationApi.dll
    Sdl.LanguagePlatform.TranslationMemoryMigrationApi.Implementation.dll
    Sdl.LanguagePlatform.TranslationMemoryTools.dll
    Sdl.MultiTerm.Catalog.Interop.dll
    Sdl.MultiTerm.Client.Adapters.dll
    Sdl.MultiTerm.Client.Api.dll
    Sdl.MultiTerm.Client.Connectors.dll
    Sdl.MultiTerm.Client.CppBridge.dll
    Sdl.MultiTerm.Client.HtmlHelpAccess.dll
    Sdl.MultiTerm.Client.MiniEditor.dll
    Sdl.MultiTerm.Client.TermAccess.dll
    Sdl.Multiterm.Client.Terminology.UI.dll
    Sdl.MultiTerm.Client.TerminologyProvider.dll
    Sdl.MultiTerm.Client.TerminologySearch.dll
    Sdl.MultiTerm.Client.UI.dll
    Sdl.MultiTerm.Client.UI.WPF.dll
    Sdl.MultiTerm.Common.Interop.dll
    Sdl.MultiTerm.Core.Common.dll
    Sdl.MultiTerm.Core.Connectors.dll
    Sdl.MultiTerm.Core.Constants.dll
    Sdl.MultiTerm.Core.Contracts.dll
    Sdl.MultiTerm.Core.Entities.dll
    Sdl.MultiTerm.Core.Licensing.dll
    Sdl.MultiTerm.Core.Logging.dll
    Sdl.MultiTerm.Core.RenderEngine.dll
    Sdl.MultiTerm.Core.Resources.dll
    Sdl.MultiTerm.Core.Search.dll
    Sdl.MultiTerm.Core.Settings.dll
    Sdl.MultiTerm.Core.Utilities.dll
    Sdl.MultiTerm.Core.XmlProcessor.dll
    Sdl.MultiTerm.Export.Interop.dll
    Sdl.MultiTerm.Filter.Interop.dll
    Sdl.MultiTerm.Import.Interop.dll
    Sdl.MultiTerm.InputModel.Interop.dll
    Sdl.MultiTerm.Kernel.Core.dll
    Sdl.MultiTerm.Kernel.Local.dll
    Sdl.MultiTerm.Server.Interop.dll
    Sdl.MultiTerm.TermRecognition.Interop.dll
    Sdl.MultiTerm.Tip.Interop.dll
    Sdl.MultiTerm.TMO.Interop.dll
    Sdl.MultiTerm.Util.dll
    Sdl.PackageApi.dll
    Sdl.PackageApi.Implementation.dll
    Sdl.PackageApi.SynergyExtensions.dll
    Sdl.ProjectApi.AutomaticTasks.Analysis.dll
    Sdl.ProjectApi.AutomaticTasks.Conversion.dll
    Sdl.ProjectApi.AutomaticTasks.dll
    Sdl.ProjectApi.AutomaticTasks.GenerateTargetTranslation.dll
    Sdl.ProjectApi.AutomaticTasks.PerfectMatch.dll
    Sdl.ProjectApi.AutomaticTasks.ProjectTm.dll
    Sdl.ProjectApi.AutomaticTasks.PseudoTranslate.dll
    Sdl.ProjectApi.AutomaticTasks.Scan.dll
    Sdl.ProjectApi.AutomaticTasks.SdlXliffConversion.dll
    Sdl.ProjectApi.AutomaticTasks.Split.dll
    Sdl.ProjectApi.AutomaticTasks.Translate.dll
    Sdl.ProjectApi.AutomaticTasks.TranslationCount.dll
    Sdl.ProjectApi.AutomaticTasks.UpdateTm.dll
    Sdl.ProjectApi.AutomaticTasks.Verification.dll
    Sdl.ProjectApi.AutomaticTasks.WordCount.dll
    Sdl.ProjectApi.Automation.dll
    Sdl.ProjectApi.dll
    Sdl.ProjectApi.Helpers.dll
    Sdl.ProjectApi.Implementation.dll
    Sdl.ProjectApi.Implementation.XmlSerialization.dll
    Sdl.ProjectApi.Licensing.dll
    Sdl.ProjectApi.ProjectConversion.dll
    Sdl.ProjectApi.Reporting.dll
    Sdl.ProjectApi.Reporting.XmlReporting.dll
    Sdl.ProjectAutomation.Core.dll
    Sdl.ProjectAutomation.FileBased.dll
    Sdl.ProjectAutomation.Settings.dll
    Sdl.ProjectServer.Client.dll
    Sdl.ProjectServer.Commute.dll
    Sdl.ProjectServer.Contracts.dll
    Sdl.SpellChecking.Api.dll
    Sdl.SpellChecking.Hunspell.dll
    Sdl.SpellChecking.HunspellWrapper.dll
    Sdl.SpellChecking.MSWord.dll
    Sdl.SpellChecking.NHunspell.dll
    Sdl.StudioServer.ProjectServer.Client.dll
    Sdl.StudioServer.ProjectServer.Contracts.dll
    Sdl.StudioServer.ProjectServer.Package.dll
    Sdl.Terminology.TerminologyProvider.Core.dll
    Sdl.Tools.Common.dll
    Sdl.Tools.Msi.dll
    Sdl.TranslationStudio.Api.dll
    Sdl.TranslationStudio.Common.dll
    Sdl.TranslationStudio.Editor.dll
    Sdl.TranslationStudio.FileCheck.dll
    Sdl.TranslationStudio.NetworkFileCheck.dll
    Sdl.TranslationStudio.Packaging.Convertors.TeamWorks.dll
    Sdl.TranslationStudio.Packaging.Convertors.Tms.dll
    Sdl.TranslationStudio.Packaging.Convertors.WorldServer.dll
    Sdl.TranslationStudio.Packaging.dll
    Sdl.TranslationStudio.Plugins.ShowShortcuts.dll
    Sdl.TranslationStudio.Plugins.WorldServerTranslationProvider.Api.dll
    Sdl.TranslationStudio.Plugins.WorldServerTranslationProvider.dll
    Sdl.TranslationStudio.Plugins.WorldServerTranslationProvider.UI.dll
    Sdl.TranslationStudio.ProjectManagement.dll
    Sdl.TranslationStudio.ProjectServerPlugin.dll
    Sdl.TranslationStudio.Start.dll
    Sdl.TranslationStudio.TranslationMemoryManager.dll
    Sdl.TranslationStudio.TranslationMemoryMigration.UI.dll
    Sdl.TranslationStudioAutomation.IntegrationApi.dll
    Sdl.TranslationStudioAutomation.IntegrationApi.Extensions.dll
    Sdl.TranslationStudioAutomation.Licensing.dll
    Sdl.Ttxr.Converter.dll
    Sdl.Utilities.BatchSearchReplace.Lib.dll
    Sdl.Utilities.BatchSearchReplace.SearchResultsControl.dll
    Sdl.Utilities.SDLXLIFFConvertor.dll
    Sdl.Utilities.TWindow.Controls.dll
    Sdl.Utilities.TWindow.Interop.dll
    Sdl.Verification.Api.dll
    Sdl.Verification.QAChecker.dll
    Sdl.Verification.TermVerifier.dll
    SdlOffice12PasswordVerifier.dll
    SDLZipUtil.dll
    shw32.dll
    SmartThreadPool.dll
    Spring.Core.dll
    System.Data.SQLite.dll
    System.Windows.Interactivity.dll
    Trados.Filters.FileSniffer.dll
    Trados.Interop.SettingsManager.dll
    Trados.Interop.STaggerFAPI.dll
    Trados.Interop.STaggerIAPI.dll
    Trados.Interop.TMAccess.dll
    Trados.Interop.XConvert.dll
    Trados.ServerManagement.TmManagerApi.dll
    TranslationStudioExt.dll
    WordBinaryFile.dll
    WordPlugInFilter.dll
    WPFToolkit.dll
    WSWebServices.dll
    xerces-c_2_1_0.dll

  • The dlls are in the right place. Can you please run Visual Studio as administrator and see if the reference issue is there?

     

    Also what is your .Net target framework?

    Romulus Crisan | Translation Productivity Development Manager | SDL | (twitter) @cromica_82 | (blog) http://www.romuluscrisan.com/

  • Dear, Romulus Crisan


    Target framework is ".NET Framework 4".
    I've been following exactly what your HELP File talking about.


    >Right-click the program icon or shortcut, and then click "Run as administrator".
    And, Open the same problomatic Plug-ins practice file. --> No, differences. The same ref. errors.

    "The type or namespace name 'TranslationStudioAutomation'
    does not exist in the namespace 'Sdl'
    (are you missing an assembly reference?)" listed several time in the error box at the bottom side of the screen.

    I have for .cs files in it. I do not know which is which, so I used one of them(which has the longest file name).

    MyTranslationProvider.cs
    MyTranslationProviderFactory.cs
    MyTranslationProviderLanguageDirection.cs
    MyTranslationProviderWinFormsUI.cs


    Regards

  • Anonymous
    0 Offline Anonymous in reply to Anonymous

    Ah,
    I have a minor alert message which goes like this;
    "
    ---------------------------
    Microsoft Visual Studio
    ---------------------------
    The 'PowerToolsCommandsPackage' package did not load correctly.
    The problem may have been caused by a configuration change or
    by the installation of another extension.
    You can get more information by examining the file
    'C:\Users\Naah\AppData\Roaming\Microsoft\VisualStudio\12.0\ActivityLog.xml'.
    Continue to show this error message?
    "

    There are soo many "this/that Power Tools.." that I do not know which is which.

    And the location it points, has nothing "more information".
    It has almost same information as in alert message itself.

    Regards

Reply
  • Anonymous
    0 Offline Anonymous in reply to Anonymous

    Ah,
    I have a minor alert message which goes like this;
    "
    ---------------------------
    Microsoft Visual Studio
    ---------------------------
    The 'PowerToolsCommandsPackage' package did not load correctly.
    The problem may have been caused by a configuration change or
    by the installation of another extension.
    You can get more information by examining the file
    'C:\Users\Naah\AppData\Roaming\Microsoft\VisualStudio\12.0\ActivityLog.xml'.
    Continue to show this error message?
    "

    There are soo many "this/that Power Tools.." that I do not know which is which.

    And the location it points, has nothing "more information".
    It has almost same information as in alert message itself.

    Regards

Children