Wednesday, 7 August 2013

Visual Studio 2010: Show Files in Tree Like Structure

Visual Studio 2010: Show Files in Tree Like Structure

I have a directory structure somewhere else outside of where the project
folder is. I created my project then dragged the root folder into the
project. Visual Studio's project just lists my files and does not present
them in a tree like format.
For example
Say External Directory Structure is:
root
|--- dir 1
| |---A.h
| |---B.h
|--- dir 2
| |---C.h
| |---D.h
|--- dir 3
| |---D.h
| |---E.h

Visual Studio after I drag and drop root over the project name shows the
following file structure: project
|--- Header Files
| |---A.h
| |---B.h
| |---C.h
| |---D.h
| |---D.h
| |---E.h

How Do I get it to show like:
Header Files
|--- dir 1
| |---A.h
| |---B.h
|--- dir 2
| |---C.h
| |---D.h
|--- dir 3
| |---D.h
| |---E.h

No comments:

Post a Comment