更新时间:2022-11-03 20:08:36
当您右键单击并单击左侧的发布Web时,应该有一个设置选项卡。点击这个然后在文件发布选项下展开该选项,然后选中目的地移除附加文件框。 (这将会消除已经存在的内容)
When you right click and click Publish Web on the left hand side there should be a settings tab. Click this. Then expand the option under File Publish Options and check the Box for Remove addtional files at destination. (This will wipe out whats already there)
这里也可以详细说明: MSDN
Also can be detailed here: MSDN