保留文件夹结构 [英] Preserve folder structure

查看:129
本文介绍了保留文件夹结构的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试了几种方法将具有现有文件夹结构的C项目导入解决方案资源管理器。

Ive tried several ways of importing into the solution explorer a C project with existing folder structure.

在导入文件时,包含文件夹的树结构C文件未保留。尝试这样做的几种方法都失败了。

While the files have been imported, the tree structures of the folders containing the C files was not preserved. Several ways of trying to do this failed.

这是如何正确完成的?

问候,

推荐答案

您好,

欢迎来到MSDN论坛。

Welcome to MSDN forum.

您需要将目录结构放入你的项目目录。然后点击"显示所有文件"解决方案资源管理器工具箱顶部的图标。之后,添加的目录将显示出来。然后,您需要选择此目录,右键
单击,然后选择"包含在项目中"。

You need to put your directory structure in your project directory. And then click "Show All Files" icon in the top of Solution Explorer toolbox. After that, the added directory will be shown up. You will then need to select this directory, right click, and choose "Include in Project."

参考:
https://stackoverflow.com/questions/392473 / how-do-i-add-an-existing-directory-tree-to-a-project-in-visual-studio

祝你好运,

Joyce


这篇关于保留文件夹结构的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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