This class provides an implementation of the IProject interface for working with SDL Trados Studio projects.

Namespace: Sdl.ProjectAutomation.FileBased
Assembly: Sdl.ProjectAutomation.FileBased (in Sdl.ProjectAutomation.FileBased.dll) Version: 1.0.0.0 (1.2.3064.0)

Syntax

C#
public class FileBasedProject : IProject
Visual Basic
Public Class FileBasedProject _
	Implements IProject
Visual C++
public ref class FileBasedProject : IProject

Remarks

An SDL Trados Studio project always resides in a dedicated project folder on disk. Within this, you can find the following: The project file: an XML file with the "sdlproj" extension that contains all the information about the project.The language folders: for every project language (source and target), the project folder contains a language sub-folder, named using the ISO abbreviation of the language. Within these folders, all the project files are stored (see ProjectFile). When adding a source file to the project, this will be copied into the source language folder. Each of the language folders can contain sub folders, which allows adding additional structure to the project (see Folder).The 'File Types' folder: this folder contain the file type definition files (*.sdlfiletype) that are used within the project. Which file types are used in a project is determined by the project template or the reference project upon which the project was based. The 'TM' folder: this folder contains any file-based project translation memories that are created for the project. The PopulateProjectTranslationMemories task will create a project translation memory for every target language and main translation memory. The use of project translation memories is optional. The 'Reports' folder: folder contains all the reports generated by automatic tasks. The reports are stored as XML files and can be saved into various output formats using SaveTaskReportAs(Guid, String, ReportFormat).

When creating a new FileBasedProject object, the project XML file is loaded into memory. Changes to the project are not saved automatically and only happen in memory. After doing a series of operations on a project, you need to call Save()()()() to save the project XML file. You may choose to do this at key points to prevent losing data in case your application crashes.

The FileBasedProject class can be used to open any type of SDL Trados Studio project. In order to create a project from a project package (*.sdlppx), use the static CreateFromProjectPackage(String, String, ProjectPackageImport%) method.

Project created using the Project Automation API will not automatically be added to the SDL Trados Studio project list. In order to do this, simply open the project in SDL Trados Studio, which will add it to the list.

Inheritance Hierarchy

System..::..Object
  Sdl.ProjectAutomation.FileBased..::..FileBasedProject

See Also