Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Compile and execute C# code from string at run time
#4
Replace all `print.it` with `Console.WriteLine`.

Add Au.dll reference:
Quote:var c = CsScript.Compile(code, r: [@"C:\somewhere\Au.dll"]);

Also in the video the NuGet package is incorrect.


Messages In This Thread
RE: Compile and execute C# code from string at run time - by Gintaras - 07-31-2025, 03:48 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)