Although you can have only one workspace/solution open at a time, you can add as many targets/projects to the workspace/solution as you want and open and edit objects in multiple targets/projects.
Working with targets that share PBLs
If a target shares PBLs with another target in the same workspace, you should work on only one target at a time. Objects are always opened in the context of a specific target. When you open an object in a PBL that is used in multiple targets, PowerBuilder needs to set global properties for the specific target you are working on.
To add an existing target/project to a workspace/solution
-
Right-click on the workspace/solution displayed in the System Tree and select Add Target or Add Project from the pop-up menu.
The Add Target to Workspace or Add Project to Solution dialog box displays.
-
Navigate to the directory containing the target/project you want to add and select the target/project file.
-
Click Open.
The target/project is added to your current workspace/solution.
If you want to add a target to a solution, you should select Convert & Add Target from the pop-up menu. The selected target (.pbt) file will be converted to the project (.pbproj) and the library files (.pbl) included in the selected target will be converted to the library folders.