dnlab

Content rating
Everyone
1+
Downloads
Content rating
Everyone
Learn more
Screenshot image
Screenshot image
Screenshot image
Screenshot image

About this app

Disclaimer: this is not an official Microsoft product.

Also known as ".NET Lab."

For more details, see https://github.com/jjonescz/DotNetLab.

Features:
- Razor/CSHTML to generated C# code / IR / Syntax Tree / Errors.
- C# to IL / Syntax / IOperation / Symbols / decompiled-C# / JIT Asm / Errors / Execution console output.
- Any Roslyn/Razor compiler version (NuGet official builds or CI builds given PR number / branch / build number).
- VSCode Monaco Editor.
- Multiple input sources (especially useful for interlinked Razor components).
- C# Language Services (completions, live diagnostics, code fixes).
- Configuring any C# options (e.g., LangVersion, Features, OptimizationLevel, AllowUnsafe) via Roslyn C# APIs or via #:property directives (both with editor completions).
- Referencing NuGet packages via #:package directives.
C# and Razor compiler playground. Unofficial tool for .NET developers.
Updated on
Oct 29, 2026

Data safety

Safety starts with understanding how developers collect and share your data. Data privacy and security practices may vary based on your use, region, and age. The developer provided this information and may update it over time.
  • No data shared with third parties
    Learn more about how developers declare sharing
  • No data collected
    Learn more about how developers declare collection

What’s new

v1.25.0: allow loading compiler from disk

### Features

- Allow choosing a local roslyn repo from disk to load it as compiler
- Allow referencing source generators and analyzers from `#:package`s
- Run built-in .NET source generators and analyzers

### Enhancements

- Simplify the default display format of Error List
- Use CoreCLR instead of Mono in the Android app

### Fixes

- Improve JIT assembly

For more details and previous releases, see https://github.com/jjonescz/DotNetLab/releases