When I'm using X2MBC to build a mod with multiple script packages, I often get these compile errors when trying to compile the mod after it was already previously compiled successfully.
Error, Failed to delete ..\..\XComGame\Script\WOTCIridarDynamicDeployment2.u
Error, Failed to delete ..\..\XComGame\Script\WOTCIridarDynamicDeployment3.u
Doing "Rebuild All" allows the mod to build, but it's obviously undesirable, since it means recooking the assets every time.