/chakra.net

NuGet package for dynamically compiling C# 8 snippets

Primary LanguageC#

Build Status

NuGet Badge

Chakra.NET

Compile and run .NET snippets dynamically

https://github.com/laurentkempe/DynamicRun/blob/master/DynamicRun/Program.cs

Todo

  • Use text writer to capture console

  • async

  • lists, enumerable, arrays and dictionary

  • tasks

  • linq

  • reading a file

  • files, path

  • regex

  • line numbers in runtime errors (not feasible)

  • compile errors and line numbers

  • xunit

  • creating classes

  • classes, getter, setter

  • namespace

  • assemblies as string param

  • extract assemblies to API

  • moq

  • expectations and reporting

  • exceptions (caught and uncaught)

Releasing a version

  • Update the version in Chakra/Chakra.csproj
  • Create a release branch with name release-x.y.z
  • push the branch, nuget will be auto published unless tests/build are failling in the version