Unable to create registration information for file named '<filename>'

The specified file has the Register property set to vsdrfCOM or vsdrfCOMRelativePath, but the file does not contain COM registration information or is not a COM component.

Note

This error can also occur if two components with the same ProgID are added to the deployment project. In this case, you will need to remove one of the files and, if necessary, change its ProgID before adding it back to the project.

To correct this error

  1. Double-click the error message in the Task List to go to the file in the File System Editor.

  2. In the Properties window, select the Register property and choose a different registration option.

    Note

    For COM components created in Visual C++ using ATL 6.0 you should choose the vsdrfCOMSelfReg option.

See Also

Reference

Register Property