干净的Windows Azure网站 [英] Clean Windows Azure Website
问题描述
我的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.
推荐答案
当你右击并点击左侧发布网站应该有一个设置选项卡。点击这里。然后,展开下文件的选项发布选项,并选中复选框删除文件addtional目的地。 (这会擦出什么已经有了)
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
这篇关于干净的Windows Azure网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!