C#6 Compiler for Dynamic PluginsNovember 30, 2017 posted by: joreg
If you’re writing your own dynamic plugins in C#, we got something for you! If not, still read on, so yo know, just in case..
The C# language is evolving all the time with nifty features. In order to be able to use those, you need a suitable compiler that understands those. So far, the C# compiler included with vvvv only supported language features of C# versions lower than 6. But no more:
Latest alphas suppport all features new in C# 6.
image grabbed off the internet
- You need to have either Visual Studio 2015 or MSBuild Tools 2015 installed
- You have to enable the new compiler by using the commandline parameter /cs6 when starting vvvv
Note: UPDATE: This is now activated by default for everyone even without the caveats as mentioned above!
So get yourself a fresh alpha now and do yourself a favor by using those new language features.
Comments are no longer accepted for this post.
now that C# 7.0 came out a couple of months ago and 7.2 is in the making ;P which also has couple of useful features like the tuple syntax (ValueTuple), deconstructing variable declaration, out variables, expression bodies everywhere, the pattern matching
also how about using Roslyn for the dynamic plugin backend and for the editor intellisense? or even better a node factory for csx files? ;)