When you delete a component, the component interface or assembly reference is removed from the project file. References to the component in the project are not removed and will be shown as errors.