2024.2 C# Language Version

I’ve got notes from Insights 2024 that Epicor 2024.1 was supposed to support C# version 10.8… We’re on 2024.2, and our developer just sent me this:

I’ve verified BPMs only supports 6.x, Andris. And it looks to me like it’s not a .Net issue or compiler capability issue, but looks to be Epicor locking the language to 6.x. Not sure if there’s a config change to override that.

Suggestions?

it is locked because BPM and functions during development are compiled on the client which is .NET Framework.

I assume it can be changed when we switched to browser UI in BPM and functions.

Server code itself is using the latest C#.

2 Likes

Thanks, Olga. We’ll try the browser.

FYI - Our developer said that functions (guessing on the client) supported 10+.

it won’t chnage anything now, when both clients are supported.

Interesting, I will check that.

Functions are on 7 though.

yes, google says that

The .NET Framework 4.8, which is the last version of the .NET Framework , supports C# 7.3, and newer versions of C# are only available in the newer .NET platform.

so technically BPM also could use that version

3 Likes

not 10, 7.2

1 Like

It always has annoyed me how BPMs and functions are on different language levels.

3 Likes

So we’re limited to C# 6 for BPM’s and C# 7.2 for functions in 2024.1 through 2025.2? I must have gotten confused at Insights last year. Not unusual when I’m drinking from a fire hose!

And once Epicor goes browser-only in 2026.1, we’ll be able to use C#12 (from .Net 8)?

1 Like

correct.

I don’t know yet. Also at that point it will be .NET10.

5 Likes