DynamicCSharp 1.0.1
dotnet add package DynamicCSharp --version 1.0.1
NuGet\Install-Package DynamicCSharp -Version 1.0.1
<PackageReference Include="DynamicCSharp" Version="1.0.1" />
paket add DynamicCSharp --version 1.0.1
#r "nuget: DynamicCSharp, 1.0.1"
// Install DynamicCSharp as a Cake Addin #addin nuget:?package=DynamicCSharp&version=1.0.1 // Install DynamicCSharp as a Cake Tool #tool nuget:?package=DynamicCSharp&version=1.0.1
DynamicCSharp
Overview
DynamicCSharp is a small library designed for use on .NET Core 2.1 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 core, 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.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.1 is compatible. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
-
.NETCoreApp 2.1
- Microsoft.CodeAnalysis.CSharp (>= 2.10.0)
- Microsoft.Extensions.DependencyModel (>= 2.1.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
NuGet API Key: oy2mrhe2wj6gogsrz5zaavlwxjmiz4tebhc64nnig22wci