Skip to content

Simplified facade/wrapper class and interface abstracting the Roslyn compiler so that C# source code can be converted to a dynamically loaded assembly at runtime.

Notifications You must be signed in to change notification settings

RopleyIT/DynamicCSharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DynamicCSharp

Overview

DynamicCSharp is a small library designed for use on .NET 5 or later. With the Windows implementation of the .NET framework, we could use CodeDom classes to parse C# source code and compile it to a dynamically-loaded assembly. With .NET 5, these classes are replaced by the Roslyn compiler API, a complex suite of classes that support syntax tree generation and semantic analysis in addition to emitting output assemblies.

DynamicCSharp provides a simple interface and Facade onto these Roslyn classes, so that users who just want to compile C# source to a dynamically loaded assembly at run-time have a simple library that does this.

For detailed documentation on how to use the library, please consult the GitHub wiki pages.

About

Simplified facade/wrapper class and interface abstracting the Roslyn compiler so that C# source code can be converted to a dynamically loaded assembly at runtime.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages