[Home](../../) › [Metalama](../../metalama) › [Features](../features.md) › [Extensibility Features](extensibility.md) › Divorcing from Metalama

# Divorcing from Metalama

> Metalama provides tools and procedures for removing its dependency, allowing projects to revert to the standard C# compiler.

Canonical: https://postsharp.net/metalama/features/divorce.html

We understand the risks you're taking by depending on Metalama, so we've made it as simple as possible to remove it from your projects.

We provide a [procedure](https://doc.metalama.net/conceptual/divorcing) and tools to write the generated code back into your source code repository. You can then use any `git` tool to review the changes and commit the generated code back into your source repository.

Metalama Divorce is not designed for regular execution. Like any divorce, breaking up from Metalama can be challenging and might take anywhere from hours to days, depending on the size of your projects. We've aimed to make the process as smooth as _possible_.

## Benefits

* No vendor lock-in. You can revert to the standard C# compiler at any time.

## Resources

* Reference documentation: [Divorcing from Metalama](https://doc.metalama.net/conceptual/divorcing)

---

## Site navigation

- Previous: [Code Query API](code-query.md)
- Index of the whole site: [llms.txt](../../llms.txt)

