# Cloud Code C# module reference files

> Manage Cloud Code C# modules from the Unity Editor with module reference files.

Use Cloud Code C# module reference files to manage your modules from the Unity Editor. These files reference your C# solution used for your Cloud Code C# modules. You can deploy these reference files to the Unity Dashboard using the [Deployment package](https://docs.unity3d.com/Packages/com.unity.services.deployment@latest).

## Prerequisites

To use Cloud Code C#, you must install the [Deployment package](https://docs.unity3d.com/Packages/com.unity.services.deployment@latest) (`com.unity.services.deployment`).

## Create Cloud Code C# module reference files

To create a Cloud Code C# module reference file:

1. In the Unity Editor, right-click the Project window and select **Create** > **Services** > **Cloud Code C# Module Reference**.

## File format

Cloud Code C# module reference files must respect the **JSON** format.

### Example

```json
{
  "modulePath": "../new_module_reference/new_module_reference.sln"
}
```

For more options on authoring and how to generate your solutions, refer to [Write Cloud Code C# modules in Editor](./write-modules/unity-editor.md).

## Deploy files

When you have created your Cloud Code C# module reference files, you can deploy them to your chosen environment.

To deploy a file:

1. In the Unity Editor, select **Services** > **Deployment**. For Unity Versions earlier than 2022, select **Window** > **Deployment**.
   The Deployment window displays your local Cloud Code C# module reference files.
2. Select your chosen Cloud Code C# module reference files and select **Deploy Selected**.

For more information on working with the Deployment window, refer to [Deployment package](https://docs.unity3d.com/Packages/com.unity.services.deployment@latest).
