如何将现有文件夹添加到 Visual Studio 2010 Express 项目?

如何将现有文件夹添加到 Visual Studio 2010 Express 项目?

问题描述:

我正在尝试将文件夹和其中的一些文件添加到 Visual Studio 2010 Express VB.NET 项目.我已阅读有关此主题的问题的答案 此处这里.他们都说选择文件夹,右键单击,然后选择添加到项目".

I'm trying to add a folder and some files within it to a Visual Studio 2010 Express VB.NET project. I have read the answers to questions on this subject here and here. They both say "select folder, right click, and then select Add To Project".

但是当我以这种方式右键单击时,没有出现添加到项目"选项.有谁知道为什么会这样,我能做些什么,或者另一种向项目添加文件夹的方法?

But when I right-click in this way, no "Add to Project" option appears. Does anyone know why this is so, and what I can do about it, or alternatively another way of adding a folder to a project?

是的,这很好用.单击显示所有文件".您将看到未包含在您的解决方案中的所有文件的幻影图像.右键单击您想要的文件夹,然后单击包含在项目中"它没有问题,并显示在您的解决方案资源管理器菜单中.

Yes, this works fine. Click on the "Show All Files". You'll see ghost images of all the files that are not included in your Solution. Right-click on the folder that you want, then click the "Include in Project" It comes right in with no problem and shows up in your Solution Explorer menu.