| .NET DotNet Forum Index » Visual C++ Forum » How to add all my files from existing... |
|
Page 1 of 1 |
|
| Author |
Message |
| trant... |
Posted: Tue Sep 22, 2009 12:53 pm |
|
|
|
Guest
|
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? |
|
|
| Back to top |
|
|
|
| Carl Daniel [VC++ MVP]... |
Posted: Wed Sep 23, 2009 8:12 am |
|
|
|
Guest
|
trant wrote:
Quote: 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?
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 |
|
|
| Back to top |
|
|
|
|