Run, Test and Publish Projects > Build and Pack Projects
  
Build and Pack Projects
FactoryStudio is constantly compiling the module you are editing in the background and validating all scripts and displays. If you have not run a full build, the BuildStatus column reflects any warnings or errors found during the background compile process.
Double-click a row with a red X to go to the source of the warning or error. Warnings are informational and do stop the script from running. Errors prevent the specified script from running, but do not affect the whole application. If a script or display has a warning, it will still run.
Periodically, you should run a full build:
When you have made many changes and you want a full validation and recompile of the whole project.
When you want to assign a build number to a version.
When you want to pack the database. When the build executes, the system creates a backup of the current project file. If you want to save the project as it was for this build, rename the backup file.
When you are getting ready to publish, that is, create the read-only runtime application
To build the application:
1. Go to Run > Build > Messages.
2. If you want to pack the database, select the Pack Database after Build option.
Select this option to significantly reduce the size of the project file. The system creates a file with the backup extension, which is the database before the packing. Typically, you want to pack the database every time you run a build.
3. If you want to save all displays, select the Save all Displays when Building option.
Be sure to use this option if you have made changes to the symbol library. This option applies to all symbol library changes throughout the project.
4. Click Build.
*Tip: When checked, a backup of project connected with that build is automatically created. It is also possible to pack a project without building, just click on the “Pack” button