Removing Projects and Files from a Deployment Target
Deployment targets contain references to the projects and files that you want to be deployed. In the Deployment Explorer you can see the projects and files that will be deployed listed under each deployment target.
To remove a project or file from a deployment target
In the Deployment Explorer, select the file or project that you want to remove.
On the Project menu, click Remove.