Should be referencing 16 version of the CSOM ot make it work.