Assign: Expression Activity type ‘VisualBasicValue`1’ requires compilation in order to run

Migrated to windows and getting the error.

My assign is: strDate = now.AddDays(-30).ToString(“dd.MM.yyyy.”)
Tried adding DateTime.now.AddDays(-30).ToString(“dd.MM.yyyy.”) but getting same error.

Help would be appreciated

Hi @raven,

Please update your System.Activities package.

If the problem not solved, try to downgrade your System.Activies before initial version.

Regards.
Ömer

My System.Activities package was already updated to 22.10.1 so I tried downgrading to 22.4.5 but unfortunately getting same error

Hi @raven,

Have a look at this post:
Visual basic workflow compilation error - Help / Studio - UiPath Community Forum

Note: If I copy your string, it doesnt work either, but if I change the double quotes by typing them again into the string, it works.

Kind regards,
Robert

4 Likes

CRAZY! - migrating from legacy to windows is a real headaqe. Thanks for your solution

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.