Today I've started adding Web Deployment projects for our web application, and noticed that the deployment project picks up everything that could be a content file from the web application, including the csproj files etc.
I've seen online how you can manually exclude files using the MSBuild task ExcludeFromBuild, and that is currently the way I'm looking to approach this.
My questions: Is there a way to restrict the files sent to the Web Deployment Project, to only those that are included in the Web Application Project?