I have a similar requirement as this post. Changing the api name of a custom object
The answer was to remove any reference to the custom object.
Does this mean I have to comment out referenced code?
If I have already deployed the custom object to production, what steps should I do to also make change to the production?