This documentation is archived and is not being maintained.

The target for shortcut '<shortcut>' has the Exclude property set to True

The target file referenced in the error message has been excluded from the project and the shortcut cannot be built.

To correct this error

  1. Double-click the error in the Task List to go to the shortcut in the File System Editor.
  2. In the Properties window, select the Target property.
  3. In Solution Explorer, select the project that contains the file referenced in the Target property of the shortcut.
  4. Select the excluded file.
  5. In the Properties window, select the Exclude property and set it to false.

See Also

Excluding Items from a Deployment Project | Command Property | File Types Management in Deployment