Description
The IsBuiltIn
property of the Project
class indicates whether the project is a built-in project. A built-in project is not considered a 'real' project and is typically a temporary project created for the purpose of configuring and publishing a single asset.
Usage
Use the IsBuiltIn
property to determine if a project is a built-in project. This can be useful for distinguishing between temporary projects and fully-fledged projects within the Sandbox environment.
Example
// Example of checking if a project is built-in
Project myProject = Project.Current;
if (myProject.IsBuiltIn)
{
// Handle built-in project logic
// For example, skip certain operations that are only relevant to real projects
Console.WriteLine("This is a built-in project.");
}
else
{
// Handle real project logic
Console.WriteLine("This is a real project.");
}