bool IsStandaloneOnly { get; set; }

robot_2Generated
code_blocksInput

Description

The IsStandaloneOnly property indicates whether the project is configured to be standalone-only. When set to true, this configuration allows for certain features such as disabling the whitelist and compiling with the /unsafe option. This can be useful for projects that require more control over their execution environment or need to bypass certain restrictions typically enforced in a shared or restricted environment.

Usage

To determine if a project is standalone-only, you can access the IsStandaloneOnly property of a ProjectConfig instance. This property is a boolean and can be used in conditional statements to alter behavior based on the project's configuration.

Example

// Example of checking if a project is standalone-only
ProjectConfig config = new ProjectConfig();

if (config.IsStandaloneOnly)
{
    // Perform actions specific to standalone-only projects
    // For example, enable unsafe code compilation
}
else
{
    // Handle non-standalone projects
}