FAQ

Questions

  1. Linq is missing

Linq is missing

No dependencies are added by default and many pieces of code relies on standard C# implemented in System.Core which must be added as a dependency. That’s what the following error tells:

System.InvalidOperationException: Error (CS0234): Missing 'Linq'

Then 'System.Core' must be added the dependencies in function create_cs_function or -d System.core in magic command CS.

(original entry : compile.py:docstring of csharpy.runtime.compile.create_cs_function, line 16)