如何将现有文件夹添加到 Visual Studio 2010 Express 项目? [英] How do I add an existing folder to Visual Studio 2010 Express project?

查看:53
本文介绍了如何将现有文件夹添加到 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.

这篇关于如何将现有文件夹添加到 Visual Studio 2010 Express 项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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