File '<file>' is no longer referenced in the project
.NET Framework 3.5
The specified file was listed in the manifest but is no longer part of the project.
To correct this error
Remove the file reference from the manifest. You can do this by going to the Application Files Dialog Box on the Publish Page and setting the file's Publish Status to Exclude.