# GetAllBuildProfiles()

> Retrieves all build profiles available in the project.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.Build.Profile](/engine/6000.6/script-reference/unityeditor/build/profile.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public static IReadOnlyList<BuildProfile> GetAllBuildProfiles()
```

### Returns

| Type                                                                                                              | Description                                                                                                           |
| ----------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- |
| [IReadOnlyList\<BuildProfile>](https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlylist-1) | Collection of found [BuildProfile](/engine/6000.6/script-reference/unityeditor/build/profile/buildprofile.md) assets. |
