Are you sure the /bin/Composite.dll is of version 4.2 ? (Right click in file explorer -> "Details").
Try to deleting/temporary removing the /bin/Composite.Generated.dll file
Try to deleting/temporary removing the /bin/Composite.Generated.dll file