Does the problem appear when you Generate, or when you use Rebuild-all ?
Does the problem appear on someone else's PC ?
Do you have a previous backup that compiles without error ?
The text description seems to have to do with variable folders.
Did you change, or delete a variable folder ?