C#6 Compiler for Dynamic Plugins

November 30, 2017 posted by: joreg

NEWS!

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:

image grabbed off the internet

Caveats:

  • 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

So get yourself a fresh alpha now and do yourself a favor by using those new language features.


Comments:

Comments are no longer accepted for this post.

microdee
30.11.2017 - 05:13

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 is or switch etc etc

also how about using Roslyn for the dynamic plugin backend and for the editor intellisense? or even better a node factory for csx files? ;)

joreg
30.11.2017 - 13:02
@microdee this is indeed already using the roslyn package v2.4. and while that page claims this should already run C#7.1 features i couldn’t get it to do so. if you know how, please let us know.
microdee
02.12.2017 - 03:40
unfortunately I only had interactions with roslyn while developing vpm. however for vpm to work users doesn’t need visual studio or msbuild, but it also doesn’t have to create project files and dll’s either. I don’t think so I’m using the freshest version in vpm tho, I need to have a deeper look on that.

Contact


Imprint

vvvv - Dießl & Gregor GbR
Oranienstrasse 10
10997 Berlin/Germany
VAT: DE275566955

groupӘvvvv.org

Follow us

Mastodon.social
Pixelfed.social
Github
Vimeo
Youtube

Sign up for our Newsletter

Your subscription could not be saved. Please try again.
Your subscription has been successful.