RevitAPI.dll and RevitAPIUI.dll are required references for the interaction between the Macro Manager and the Revit macro IDE. If they are inadvertently removed from a module, use this procedure to restore them.
The references are restored and the macro will build, debug, and run as needed.