Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using a local clone.

Building from Source

The latest sources of Visual D are available from the github repository at

Visual D consists of a number of components that need to be built separately:

Building the Visual Studio extension package


You need the following tools to build main package of Visual D:

Short build instructions:

Longer build instructions:

There is an AppVeyor project that verifies recent changes to the development branch of Visual D. This can also be used as a reference for the build process.

The Visual D source code is usually updated to work with the latest release version of DMD (2.086.0 as of now), so you should use this release of the compiler when using the latest git checkout.

To start developing or debugging, you should load visuald_vs10.sln in Visual Studio with Visual D installed. The preferred configuration to use is "Debug COFF32|Win32". This chooses building with the Microsoft runtime libraries. As Visual Studio is a 32-bit process, an extension has to be built for that platform, too. Build the "build" project at least once to build the necessary prerequisites and tools, e.g. D translations from the Windows and Visual Studio SDK.

If you want to build against the Digital Mars toolchain using OMF object files, you'll need coffimplib from ( installed somewhere in your PATH. Use Configuration "Debug OMF|Win32" in that case.


You should debug Visual D within Visual Studio using a different branch in the registry, so it does not interfere with your working environment.

Building the installer

The standard build procedure for the release version is to execute "nmake install_vs" in the trunk directory. Please check the variable settings at the top of the Makefile and adjust them to the installation directories on your system.

  • for installer: NSIS. External projects included in installer:
  • Good luck!