# GUIDToAssemblyDefinitionReferenceGUID(string)

> Converts the given GUID to an assembly definition file GUID reference.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.Compilation](/engine/6000.5/script-reference/unityeditor/compilation.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public static string GUIDToAssemblyDefinitionReferenceGUID(string guid)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The given assembly definition file asset GUID.

### Returns

| Type                                                           | Description                                                           |
| -------------------------------------------------------------- | --------------------------------------------------------------------- |
| [string](https://learn.microsoft.com/dotnet/api/system.string) | The assembly definition file GUID reference for the given asset GUID. |

### Remarks

You can store an Assembly Definition File reference as a GUID reference. This utility method converts a GUID string to a GUID reference.
