Unexpected error has occurred during the library compilation process: The assembly compilation returned the following errors: * Expression is a value and therefore cannot be the target of an assignment


Welcome to forums

This happens when you convert your flow from Windows-Legacy to Windows workflow?
Then there were some expressions which you need to make changes
And also, check in Imports any namespaces are getting error with red mark


I am getting same issue, as a newbie having hard time understanding this

yeah me too

we would need more details on the code statements. In general, the issue is about:

  • a value assignment needs to be done on a receivable left end

Eg. myString = “abc” ← Here the left side end can receive the value of ABC

Not working:
myString.ToUpper() = “abc” ← to upper is returning the upper case transformed string, but cannot receive a value