Working on a Canton application with a .NET backend means working in two languages. The contracts are written in Daml but the services and integrations that use them are written in C#. That often means switching between actually used Daml tool and Visual Studio, then running code generation separately to keep the C# bindings up to date.
We’ve built EQ Daml Tools so you can work on both in Visual Studio 2026. The 0.9 beta is available on the Visual Studio Marketplace. It’s free, and the source code is open under Apache 2.0.
Building Daml alongside C#
The extension comes with MSBuild packages for adding Daml to a .NET solution. Equilibrium.Daml.Sdk builds Daml packages as solution projects using incremental dpm build. Equilibrium.Daml.Build.CSharp generates C# bindings through the Canton .NET SDK during the same build.
When you change a contract, the next build updates its bindings. C# code that no longer matches the contract produces a build error, so you can catch those mismatches in your local build or CI pipeline.
You can also jump from C# to the corresponding Daml definition. On the Daml side, templates and choices show how many C# references they have.
For a new project, the Daml Contracts Project and Daml and .NET App templates are available in Visual Studio’s New Project dialog and through dotnet new.
Editing and running contracts
The Daml editor uses the damlc language server for errors as you type, hover information, completion and Go To Definition. It also has syntax highlighting, folding, smart indent and snippets.
You can run a Daml Script from the editor and inspect the contract table or transaction view next to your code. If you already have a Daml workspace, Open Folder supports building, testing and cleaning both daml.yaml and multi-package.yaml workspaces. Build errors appear in Visual Studio’s Error List.
The extension collects no telemetry.
Try the beta
Install from the Marketplace, or open Extensions > Manage Extensions in Visual Studio 2026 and search for EQ Daml Tools for Visual Studio. The MSBuild packages and templates are on nuget.org as prereleases.
You’ll need:
- Windows x64 and Visual Studio 2026, any edition
- dpm with Daml SDK 3.5 or 3.6
- JDK 17 or later
- .NET 10 SDK
The beta guide takes about 45 minutes to work through and covers the main features. If something breaks or the setup instructions leave you stuck, open a GitHub issue with what you tried and what happened.
EQ Daml Tools for Visual Studio is an independent project by Equilibrium and is not affiliated with, sponsored by, or endorsed by Digital Asset. Daml and Canton are trademarks of Digital Asset (Switzerland) GmbH. Visual Studio is a trademark of Microsoft Corporation.