DuoCode 0.4 beta is now available!

We’ve been working tirelessly to bring you the first public beta of DuoCode – our Roslyn-powered C# to JavaScript compiler!

In this release, we’ve switched from a standalone executable installer to a Visual Studio Extension (VSIX) distribution, which is incompatible with the previous versions of DuoCode. Please remove any previous installation of DuoCode from Programs and Features in Control Panel before installing the DuoCode 0.4 beta.

Getting Started
Head over to the DuoCode website and download the DuoCode Visual Studio extension (you can also install it from the Visual Studio Gallery using Extensions and Updates under the Tools menu in Visual Studio). This will install the necessary project templates for you to get started.

After installing the DuoCode extension, go to File – New Project, under Visual C# you will see the DuoCode entry. You will find the project templates for several kinds of projects: a Class Library, WebGL and Node apps, as well as a Tic-Tac-Toe game and a Ray Tracer demo:

Once a new project is created, simply press F5 to compile and start the project. DuoCode will take care of the rest!

The DuoCode compiler is now distributed as a NuGet package. During the compilation process, the DuoCode compiler (called dcc.exe) is executed by MSBuild. This means that DuoCode is ready to be included in your project, and is build-server friendly!

The result of the compilation is a scripts directory, containing the resulting .js file for the assembly, as well as mscorlib.js, which is the DuoCode implementation of the core libraries. In addition, DuoCode generates source map files, allowing you to debug your C# code right inside the browser!

Questions? Issues? Let us know!
This is a beta, and there might be things that don’t work correctly. Please let us know about them, so we can fix them!

Don’t hesitate to contact us about any questions you might have, or issues you may encounter at our support website, or by email to [email protected]

Don’t forget to download DuoCode 0.4 beta!

Happy coding!
-The DuoCode Team