Closed StephenWeatherhead closed 4 years ago
That's not part of our API. But if you want to fix it anyway, a PR is welcome. See #47 for details.
I have ported Microsoft.CodeAnalysis.VisualBasic.Scripting to .NET Core. It seems that wasn't the issue. The issue is that the way expressions are compiled in VisualBasicHelper has changed in CoreWf. It uses a different way than .NET Framework System.Activities. This explains the difference in behaviour.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
The method "VisualBasicDesignerHelper.CreatePrecompiledVisualBasicValue" throws an exception when given a valid VB expression. The same program runs in .NET Framework with System.Activities without an issue. The exception is:
The following program runs fine in .NET Framework System.Activities. When it is run using .NET Core CoreWf System.Activities, it throws the above exception.
I suspect this is related to Microsoft.CodeAnalysis.VisualBasic.Scripting not having a .NET Core equivalent but instead being substituted with the .NET Framework version: https://github.com/UiPath/corewf/issues/49
Thank you for your help