# Where do Rust plugin .cs files and extension DLLs go?

[Rust server guides](https://rustsc.com/learn/index.html.md) / [Server setup](https://rustsc.com/learn/setup/index.html.md)

A .cs plugin and a framework extension DLL have different install steps. If a release provides both, check the author's instructions for what the plugin needs and which framework the DLL supports.

## Match the file to the framework

Oxide normally compiles .cs files from oxide/plugins. Its extension guide puts supported extension libraries in RustDedicated_Data/Managed. Carbon's porting guide uses carbon/extensions for migrated Oxide extension DLLs. Keep the library name from the author and follow their version requirements.

An arbitrary DLL sitting beside the download may be a helper library or the wrong build for your server. Find the installation instructions for that release before putting anything into the game folder.

## Verify the DLL before testing the plugin

Install the extension with the server stopped and then inspect the startup log for its name. On Carbon, c.extensions also lists the loaded extensions. If the library is absent, solve that first and try the plugin after it is available.

For example, after replacing an extension with a newer build, check the version or startup line before testing the plugin that depends on it. A plugin reload alone does not repeat the full server startup that loads the DLL.

## Sources

- [Oxide guide to installing extensions](https://docs.oxidemod.com/guides/owners/extensions)
- [Carbon extension paths during migration](https://carbonmod.gg/owners/oxide-porting)
- [Carbon extension listing command](https://carbonmod.gg/references/commands/)

## Related resources

- [Change Oxide or Carbon](https://rustsc.com/support/guides/change-framework/index.html.md)

---

HTML version: https://rustsc.com/learn/setup/plugin-cs-vs-extension-dll/
