» C#6 Compiler for Dynamic Plugins
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

C#6 Compiler for Dynamic Plugins

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:

Latest alphas suppport all features new in C# 6.


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
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.

joreg, Thursday, Nov 30th 2017 Digg | Tweet | Delicious 3 comments  
microdee 30/11/2017 - 06: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 - 14: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 - 04: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.

  • 1

anonymous user login

Shoutbox

~4d ago

~7d ago

joreg: The Winter Season of vvvv workshops is now over but all recordings are still available for purchase: https://thenodeinstitute.org/ws23-vvvv-intermediates/

~14d ago

schlonzo: Love the new drag and drop functionality for links in latest previews!

~22d ago

joreg: Workshop on 29 02: Create Sequencers and Precise Clock Based Tools. Signup here: https://thenodeinstitute.org/courses/ws23-vvvv-08-create-sequencers-and-precise-clock-based-tools-in-vvvv-gamma/

~29d ago

joreg: Workshop on 22 02: Unlocking Shader Artistry: A Journey through ‘The Book of Shaders’ with FUSE. Signup here: https://thenodeinstitute.org/courses/ws23-vvvv-12-book-of-shaders/

~1mth ago

joreg: Talk and Workshop on February 15 & 16 in Frankfurt: https://visualprogramming.net/blog/vvvv-at-node-code-frankfurt/

~1mth ago

woei: @Joanie_AntiVJ: think so, looks doable

~1mth ago

xd_nitro: Anyone remember who increased projector brightness by removing some components that product the color?

~1mth ago

Joanie_AntiVJ: This looks super interesting (vectors over network) would anyone here know how to implement this in beta? https://github.com/madmappersoftware/Ponk