清理 Windows Azure 网站 [英] Clean Windows Azure Website

查看:31
本文介绍了清理 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.

推荐答案

当您右键单击并单击左侧的 Publish 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

这篇关于清理 Windows Azure 网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆