# GetResponseFileDefinesFromAssemblyName(string)

> Lists all the #define directives used to compile the specified assembly, that is from a Response File.

## Definition

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

```csharp
public static string[] GetResponseFileDefinesFromAssemblyName(string assemblyName)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The name of the assembly without the extension.

### Returns

| Type                                                               | Description                                                                                                |
| ------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------- |
| [string\[\]](https://learn.microsoft.com/dotnet/api/system.string) | A string array of #define directives declared for the assembly. Returns null if the assembly is not found. |

### Remarks

Additional Resources: [Assembly](/engine/6000.0/script-reference/unityeditor/compilation/assembly.md), [CompilationPipeline](/engine/6000.0/script-reference/unityeditor/compilation/compilationpipeline.md).
