清洁Windows Azure网站
我的ASP.NET MVC项目推送到Azure网站,其中一个额外的DLL无效。这正在使项目正常运行。如果创建了一个新网站,它的工作效果很好。在本地清理项目并重新部署不能解决问题。有没有办法执行远程清理?
My ASP.NET MVC project pushed to a Azure website with an extra DLL which is invalid. This is keeping the project from running correctly. If a new website is created it works perfectly. Cleaning the project locally and redeploying does not fix the problem. Is there a way to perform a "remote clean?"
此项目正在从Visual Studio直接部署发布菜单项。
This project is being deployed directly from Visual Studio with the publish menu item.
当您右键单击并单击左侧的发布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