NetMage
287 discussion posts
Will the .Net version be updated for scripting? I am trying to use a Linq function and it isn't supported.
NetMage
287 discussion posts
I have version 4.6 installed but when I attempted to use a C# 6.0 feature in a Scripted function, it did not work.
For example, string interpolation or extension functions found for collection initializers.
Sorry, I meant you'll be able to use the new language features like 4.x features compared to the older 2.x. Things like Linq, but not C# 6.0 features. Because it's compiled as a 4.0 application, the scripting is also limited to 4.0, even if it's technically running on 4.6.
NetMage
287 discussion posts
I attempted to use LINQ in the latest DisplayFusion, using the new Add .Net reference to add a reference to System.Linq, and I get an error message stating Linq doesn't exist in System?
@NetMage: Can you give me a sample of the Linq code you're trying to use? It could be an issue with the editor itself or the backend compiler, but once we have a sample we should be able to sort it out. Thanks!