HI,
I´m trying the 2.0.0 version and I´m having some trouble compiling simple code with codedom. (Because I would like to use Caching) Using Roslyn, everything works. But when I change do CodeDom I get a "BUILD: error : Unknown compiler error".
I can see the sources files being created at %temp%\CSSCRIPT and also the cache dir.
I´m runining on Windows, .netcore 3.1 console app and using one sample code:
dynamic script = CSScript.CodeDomEvaluator
.LoadMethod(@"public object func()
{
// return (0,5); // C# latest syntax
return new[]{0,5}; // C# 5 syntax
}");
Can you help me finding where is the problem? Best regards!
HI,
I´m trying the 2.0.0 version and I´m having some trouble compiling simple code with codedom. (Because I would like to use Caching) Using Roslyn, everything works. But when I change do CodeDom I get a "BUILD: error : Unknown compiler error".
I can see the sources files being created at %temp%\CSSCRIPT and also the cache dir.
I´m runining on Windows, .netcore 3.1 console app and using one sample code:
Can you help me finding where is the problem? Best regards!