LINQ NOT FOUND

Hi,
I have issues when runing scripts which are using Linq.
I added Linq t the editor and so the intellisense is working well.
When I run the script I complains that it cannot find the namespace system.Linq.
When I debug the IScripSource object I see the
FrameworkPath it is set to :"C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\""
Lookig at the references (winform technology) I don't see Linq as reference.
Hi Bram,
Linq extension methods are defined in System.Core assembly which is not added to the list of default assemblies.
For now it can be added manually using code like this:
scriptRun.ScriptSource.References.Add("System.Core");
regards,
Andrew
Thx Andrew,
Works for me
Regards
Bram