# GetAssemblyDefinitionFilePathFromAssemblyName(string)

> Returns the assembly definition file path from an assembly name. Returns null if there is no assembly definition file for the given assembly name.

## Definition

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

```csharp
public static string GetAssemblyDefinitionFilePathFromAssemblyName(string assemblyName)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): Assembly name.

### Returns

| Type                                                           | Description                            |
| -------------------------------------------------------------- | -------------------------------------- |
| [string](https://learn.microsoft.com/dotnet/api/system.string) | File path of assembly definition file. |
