Step 2: Adding an Existing Business Project (Optional)
If you have an existing business object project you want to add to your Windows Forms solution, follow these steps:
- In the Solution Explorer, right-click your solution (the first node in the tree) and select Add | Existing Project... from the shortcut menu.
- In the Add Existing Project dialog, select the existing business object project (.csproj or .vbproj), and then click the Open button:

This adds the selected project to your solution.
- Beneath your Windows Forms project node, right-click the References node and select Add Reference... from the shortcut menu.
- In the Add Reference dialog, select the Projects tab.
- Select the business object project, and then click OK to close the dialog and add the reference to the Windows Forms project.

- Right-click the solution (the first node in the Solution Explorer) and select Project Dependencies... from the shortcut menu.
- In the Project Dependencies dialog, in the Dependencies tab select the Windows Forms project in the Project combo box. Note that the selected check box next to the business object project in the Depends on list box. This indicates the Windows Forms project depends on the Business Object project, so the Business Object project is always built first when you rebuild the solution.
Click OK to close the dialog.
© (c) 2026 Oak Leaf Enterprises, Inc., 1996-2026 • Updated: 04/21/17
Comment or report problem with topic
