Iss2433:Add deprecated class and enums and modify some project config and test samples