Error BE0021: The project contains a reference to a custom build component '[name]' that could not be found
This error occurs when a build component is specified in the project's ComponentConfigurations property but it could not be found in any of the loaded component definitions.
This can occur if the build component configuration file is deleted from the system but the build component is still listed in the project. Either remove the component from the ComponentConfigurations property settings or restore the custom build component and its configuration file to the custom build component folder (see the Special Folder Locations topic).