aspnet / RoslynCodeDomProvider

Roslyn CodeDOM provider
MIT License
84 stars 41 forks source link

Introduction

Replacement CodeDOM providers that use the new .NET Compiler Platform ("Roslyn") compiler as a service APIs. This provides support for new language features in systems using CodeDOM (e.g. ASP.NET runtime compilation) as well as improving the compilation performance of these systems.

Please see the blog Enabling the .NET Compiler Platform (“Roslyn”) in ASP.NET applications for an introduction to Microsoft.CodeDom.Providers.DotNetCompilerPlatform.

Updates

Configurations

Generally, command-line options for the codedom compilers can be specified using the compilerOptions attribute of the compiler when it is registered in configuration. There are however, a handful of options for controlling some behaviors of this package that are not command-line options. These options fall into two broad categories and can be set as follows:

Build-time Options

Run-time Options