Igor, I tried to build CPP/7zip/UI/Console and CPP/7zip/
Bundles/Format7zF in Debug and got the following error on link stage: 7zCrcOpt.obj : fatal error LNK1107: invalid or corrupt file: cannot read at 0x276 True: the obj length is accurately 0x276. At the same time, Release is built ok. This is because in Debug 7zCrcOpt.asm custom build rule is "ml.exe -c -omf ..." while it is "ml.exe -c ..." in Release. -omf switch means "generate OMF format object file". What the hell is this option for? Anyway, setting custom build rule to "ml.exe -c" in Debug solves this issue and projects are built successfully.