Library Project (DATAFLOW Designer)
This Reference Article has been written for Version 2.1 of the DATAFLOW Software. For Previous Releases use the version selection in the navigation bar at the top of this page.
Library Project
A Library project is used in the DATAFLOW Designer to share user defined data types between multiple projects. The root element of the Library project is a type group element.
Create Library Project
A library project can be created when a new solution is created or it can be added to an existing solution. A solution can contain multiple library projects. A solution can also reference a library project created in another solution.
Library Project Creation
Configure Library Project
When a library project is created, the following must be configured:
- Project Name
The name of the Project in the solution folder. It must be unique and must not contain any characters invalid for file names such as # % and $. It should not contain spaces. - Root Namespace
The root namespace is used for all code that is generated from this project. - Type Namespace (optional)
If a namespace is set, this will be added to the namespace for all generated data types. It is also possible to use type groups to achieve the same and leave this field empty.
All names and namespaces can be changed later and are not fixed after project creation.
Initial Library Project Configuration
Library Project Elements
In a library project, only type groups and user defined data types can be created.
The root type group can not be deleted.
Library Project Constraints
Build Configurations and Build Toolchain Configurations are not supported in library projects. Reference the library project from a system project to generate code for the user defined data types in the project.
Library projects can reference other library projects as long as there are no circular references.
This Article has been written based on V2.1.1 of the DATAFLOW software.
Latest update 2023-06-01 by WUM.
Comments
0 comments
Please sign in to leave a comment.