MultiConnectSDK › Export to .NET
5. Copy your scripts
Your server needs its own copy of your server scripts.
- In Unity, choose Assets > MultiConnect > ExportScriptsForDotnet.
- Select the folder holding your server scripts.
- Select your .NET project's folder.
It copies every .cs and .dll file in that folder, keeping its structure, and opens the result. Keep client-only scripts out of that folder, because they will not compile on .NET.
To avoid copying, keep the shared scripts in one folder, and add this line inside an <ItemGroup> of your project file from Script 6.1, using your own path:
Script 5.1: Shared scripts in the project file
<Compile Include="..\MyGame\Assets\Scripts\Server\**\*.cs" />

