Prevent save upon rebuild

Hi,

      I have a large assembly with many rebuild errors. Is there a way I can stop saving the parent assembly/individual parts if it encounters rebuild.

Thanks

ananth

SolidworksAssemblies