Expression Activity type 'CSharpValue`1' requires compilation in order to run. Please ensure that the workflow has been compiled

We get the following error on ‘C#, Windows’ projects anytime we try to use the Immediate panel, in debug mode.

Expression Activity type ‘CSharpValue`1’ requires compilation in order to run. Please ensure that the workflow has been compiled.

It does not happen in ‘Windows-Legacy’ projects

It doesn’t seem linked to a particular dependency or activity, I tried creating a brand new, empty process and added a single ‘Assign’ activity and started debugging. I got the aforementioned error while trying to get the value of the variable used in the assign.

Has anyone encountered this, is there a particular setting to turn on/off?

Thank you

Can you share with us an example of failling Statement. Thanks

it’s anything really, even something dumb like this
image