Description
The IncludeSourceFiles
property of the ProjectConfig
class in the Sandbox.DataModel
namespace is a boolean value that determines whether all source files should be included in the project configuration. When set to true
, all source files are included; otherwise, they are not.
Usage
To use the IncludeSourceFiles
property, you can access it directly from an instance of the ProjectConfig
class. This property is useful when you need to control the inclusion of source files in your project configuration, especially when preparing a project for distribution or deployment.
Example
// Example of using the IncludeSourceFiles property
// Create an instance of ProjectConfig
ProjectConfig config = new ProjectConfig();
// Set IncludeSourceFiles to true to include all source files
config.IncludeSourceFiles = true;
// Check if source files are included
if (config.IncludeSourceFiles)
{
// Perform actions knowing that source files are included
// For example, prepare the project for export
}