While running a build in FinalBuilder, when it gets up to the Wix installer project and runs the linker light.exe
, I get the following error
InvalidOperationException: Collection was modified; enumeration operation may not execute.
Does anyone know what could cause this?
This error is normally caused by adding or removing items from a collection while looping through it, but as far as I can tell my code isn't doing that, and it builds in Visual Studio.