To build the system, perform the following:
Create a folder (outer folder).
Add the segment into the outer folder by dragging and dropping it into the folder, or on the File menu, select Add Existing Item.
Right-click the folder, select Properties, set the following properties to True:
Deploy Application Components.
For Windows platform, deploy Winform User Interface.
Deployment Database.
Set other configuration properties as appropriate.
Select the outer folder.
Either right-click the folder and select Folder Only, then Build, or on the Build menu, select Folder Only, then Build.