From: Chuck on 30 Jun 2010 17:13
Does a Web Deployment Project in vs10 delete the current website and then
install the new one. I noticed if I created a directory on the IIS website
it did not get deleted.
However, if I created a file on the IIS website it did get deleted.
From: Allen Chen [MSFT] on 12 Jul 2010 05:13
>Does a Web Deployment Project in vs10 delete the current website and then
>install the new one. I noticed if I created a directory on the IIS
>it did not get deleted.
>However, if I created a file on the IIS website it did get deleted.
I think the behavior is, it checks the destination folder and compare the
files in it with the files pending to be deployed. If there's an existing
file in the destination folder that is not included in the pending-deploy
files that file will be deleted. The destination folder and the folder in
it will not be deleted, however.
Do you have any further questions regarding this issue? Please feel free to
ask if you have.
Microsoft Online Support
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
Get notification to my posts through email? Please refer to
Note: MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 2 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions. Issues of this
nature are best handled working with a dedicated Microsoft Support Engineer
by contacting Microsoft Customer Support Services (CSS) at
This posting is provided "AS IS" with no warranties, and confers no rights.