Re: Create Project from Existing Code doesn't create subfolders
- From: "Andrew McDonald" <myrmecophagavir@xxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 23 Jun 2005 01:31:40 +0100
"Boris Jabes [MSFT]" <borisj@xxxxxxxxxxxxxxxxxxxx> wrote...
> Ed wrote:
>
>> We have a large project that I want to convert to use Visual Studio
>> instead of makefiles. But when I use the "Create New Project from
>> Existing Code Files" wizard (in VS2005), it dumps all the source files
>> into a single folder ("filter") instead of mimicking the filesystem
>> directory structure. We have hundreds of subfolders. Is there any way
>> to do what I want?
>
> The default view in the Solution Explorer is that you could call a "filter" view. Essentially,
> those folders you see are not physical in any way, they are simply filters based on the file types
> (extensions), in order to facilitate navigation. However, many people prefer seeing the underlying
> physical structure of the project (as do I) and we therefore added a button at the top of the
> Solution Explorer to switch to the physical view. We call this the "Show All Files" button.
>
> I hope this is what you are looking for,
That doesn't really help people in this situation Boris; we still prefer seeing a virtual view of
the project, but it's so much easier if the filters in the project match the physical folders on
disk. And this new 'show all files' functionality appears to assume that the project file is in the
root folder for all the source files! It hangs the IDE for a long time if you enable this view on a
large project when the project file isn't in the root of the source tree, since it runs through
every file in the project and sticks them in a flat list. Why that should take so long I don't know,
but it does...
The solution to the original problem would be simple: in addition to the 'add files' option, give us
an 'add folder' option with a filetype filter and an option to recursively create filters based on
folder name. This would prevent so much hassle when creating new projects based on a large existing
codebase!
Andrew
.
- Follow-Ups:
- References:
- Create Project from Existing Code doesn't create subfolders
- From: Ed
- Re: Create Project from Existing Code doesn't create subfolders
- From: Boris Jabes [MSFT]
- Create Project from Existing Code doesn't create subfolders
- Prev by Date: Re: Building a debug static lib
- Next by Date: RE: Error: Could not find the file 1200.
- Previous by thread: Re: Create Project from Existing Code doesn't create subfolders
- Next by thread: Re: Create Project from Existing Code doesn't create subfolders
- Index(es):