如何删除从我的WebMatrix的项目文件夹? [英] How can I delete a folder from my WebMatrix project?

查看:180
本文介绍了如何删除从我的WebMatrix的项目文件夹?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在WebMatrix中项目的默认设置中包含了许多文件,如Login.cshtml,Logout.cshtml,Register.cshtml等的帐号文件夹中。

The default setup for a project in WebMatrix contains an "Account" folder with many files such as Login.cshtml, Logout.cshtml, Register.cshtml, etc.

我并不需要/想为我目前的网站建设登录功能。所以,我删除引用这样在不同的页面,但是当我试图删除文件夹本身,屏幕闪烁,但似乎没有发生。

I do not need/want login capability for the site I'm currently building. So, I removed references to such in the various pages, but when I try to delete the folder itself, the screen flashes but nothing seems to happen.

那么,如何才能摆脱这种不必要的包袱吗?这同样适用于StarterSite.sdf - 试图删除它只是导致屏闪,但文件仍保持intransically barnacled到位

So how can I get rid of this unneeded "baggage"? The same goes for StarterSite.sdf - trying to delete it just causes a "screen flash" but the file remains intransically barnacled into place.

请注意:我要尽快bountify 50分这个问题。如果我在此之前答案,我将颁发奖金后的答案。

Note: I am going to bountify this question for 50 points ASAP. If I get an answer prior to that, I will award the bounty post-answer.

我可以打开Visual Studio中的项目和删除的东西就好了......这难道预期的解决办法?

I can open the project in Visual Studio and delete things just fine...is that really the expected workaround?

推荐答案

你说的不应该发生WebMatrix中什么。您可以随时浏览到使用Windows资源管理您的网站的位置(默认位置是我的文档/我的网站),但是WebMatrix中的接口应该允许你删除文件夹和文件刚罚款(我从来没有与它的任何问题)。

What you are saying shouldn't occur in WebMatrix. You can always browse to the location of your sites using Windows Explorer (default location is My Documents/My Web Sites), however WebMatrix's interface should allow you to delete folders and files just fine (I've never had any problems with it).

您的解决方案可能只是会最终被卸载/重新安装WebMatrix中(不从上述的位置忘记备份您的网站!)。我个人不知道你能怎么回事处理这个问题。

The solution for you is probably just gonna end up being uninstall/reinstall WebMatrix (don't forget to backup your sites from above-stated location!). I don't personally know how else you can handle that issue.

如果你不想做一个重新安装,那么就浏览到您的我的文档文件夹中,然后你的我的网站文件夹并删除它。你这样做之后,回到WebMatrix中,选择最上面的文件夹在左窗格中(其中显示您的网站的目录树)(它会与您的网站的名字命名),并点击 F5 来刷新视图。让我知道如果这两种方法可以帮助你:)

If you don't want to do a reinstall, then just browse to your "My Documents" folder and then your "My Web Sites" folder and delete it there. After you've done that, go back to WebMatrix and select the uppermost folder (it will be named with your site name) in the left pane (where your site directory tree is shown) and tap f5 to refresh the view. Let me know if either approach helps you :)

这篇关于如何删除从我的WebMatrix的项目文件夹?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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