https://vitalyzhukov.com/en/project-server-csom-custom-fields.aspx
Project Server. CSOM + Custom Fields