This documentation is archived and is not being maintained.

Item cannot be added to a project when multiple or no items are selected in Project Explorer.

Visual Studio 2008

This error generally occurs when no items have been selected in Solution Explorer or more than one item has been selected.

To correct this error

  • Select only one item in Solution Explorer.

Show: