Is it possible to exclude specific files or folders from “Build Deployment Package” function in VS 2010?
In VS 2008 it was possible with Web Deployment package, unfortunately this project is not available in VS2010.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I need to exclude some files also, I want to remove assemblies .xml files from the deploy (I don’t need them on the server), I couldn’t find anything on the web so I decide to look for it on my own.
After digging into the msbuild of the MsPublish I found it, you need to setup the following in your project (edit manualy the .csproj):