How to reverse engineer the whole source tree with VS 2005?

S

S J

I have a VS 2005 C++ project including a bunch of files under multiple
folders. For example:

- project root
- file1.cpp
- file2.cpp
- folder1
- file3.cpp
- file4.cpp
- folder2
- file5.cpp
- file6.cpp

I used Project - Add Existing Item to add file1 to file 6 to the
project. I could only add files to the project. There is no option to
add an entire folder. After compiling successfully, I went to Project -
Visio UML - Reverse Engineer to create a visio UML. The output log of
the reverse engineering shows it succeeded. However, when I open the
visio file, only the classes in file1.cpp and file2.cpp were shown in
the model explorer. I have tried everything but just couldn't get the
files under subfolders, i.e. file3 to file6 added to the model. Did I
do anything wrong or did I miss anything?

Thanks.
Frank
 
R

register06

OK, I found what the problem is. I used filter in the solution panel to
make the project files easier to read. Turns out that the files won't
be detected by reverse engineering if they have a filter...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top