cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable
Status: Delivered
Code Stages currently only support older language levels of .NET languages. Especially C# is currently only supported in v. 5.0, which was released in 2012. Modern constructs like initializing auto-implemented Properties were introduced in later versions but are features expected by programmers to be available per default.

As BP is using the native .NET framework to compile Code Stages on runtime into dynamic assemblies, the latest version supported is C# v. 5.0. More recent versions can easily be supported by using Microsoft's Roslyn compiler platform, which is provided as a NuGet package:
 https://www.nuget.org/packages/Microsoft.CodeDom.Providers.DotNetCompilerPlatform/

It should even be possible to configure the language level dynamically so old code can be compiled in the same way as it currently is.
2 Comments
MelanieGiuliani
Community Team (Retired)
Hi Sebastian,

Thanks so much for submitting your idea! We are moving it into the Under Consideration status while we route the idea through our internal review process. 

We will update you as your idea moves along the lifecycle.

Thank you!
Melanie 
MelanieGiuliani
Community Team (Retired)
Hi Sebastian, 

Great news! This idea was included in v6.8, which was released earlier this month. As such, I have now marked your idea as Delivered

Thanks,
Melanie