Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to add all my files from existing folder/subfolders?

0 views
Skip to first unread message

trant

unread,
Sep 22, 2009, 2:53:01 PM9/22/09
to
Sorry this seems like it should be really easy but I just can't seem to
figure it out:

I have a large collection of existing c/h files which I'd like to include in
a new Visual C project using my .NET 2008 IDE.

In the Solution Explorer I can't seem to figure out how to get all the files
from my folders and sub folders in one easy step - without having to manually
select all c/h files from every folder separately.

I know it can happen because somehow I did it before... I got to a point
where the folders appeared in solution explorer as faded white folder icons,
and then I can right click them and say Include to Project and tell it to
grab everything from it and its subfolders.

Unfortunately that project file is gone and I need to recreate it again and
cannot for the life of me figure out how I did that...

any help?

Carl Daniel [VC++ MVP]

unread,
Sep 23, 2009, 10:12:02 AM9/23/09
to

Fom the VS2008 menu -

File | New | Project from Existing Code...

Might be what you recall doing before.

Once you've got a project, you can do Add|Exiting Item and add multiple
files from one folder at a time, but I'm not sure if you can add files from
multiple folders (or a hierarchy of folders) at once using this technique.

-cd


0 new messages