将现有目录添加到解决方案资源管理器中的目录 [英] Add an already existing directory to a directory in Solution Explorer
本文介绍了将现有目录添加到解决方案资源管理器中的目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想将一个已经存在的目录添加到解决方案资源管理器中的目录中,但是每当我右键单击该目录并选择 Add =>现有项目
,我只能添加单个文件,不能添加目录.
I want to add an already existing directory to a directory in Solution Explorer, but whenever I right-click on the directory and select Add => Existing Item
, I can only add individual files, but not directories.
如何将已经存在的目录添加到解决方案资源管理器中项目内的目录中?
How do I add an already existing directory to a directory inside a Project inside Solution Explorer?
推荐答案
将文件夹从 Windows 资源管理器拖放到 Visual Studio 解决方案窗口 :)
Drag and drop the folder from Windows Explorer onto your Visual Studio solution window :)
来源 这里
或者简单地复制 &粘贴到解决方案资源管理器中.
or simply copy & paste into solution explorer.
这篇关于将现有目录添加到解决方案资源管理器中的目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文