Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VS 2005 Project Folder Name
Message
From
11/12/2009 16:17:04
 
General information
Forum:
ASP.NET
Category:
Visual Studio
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01438610
Message ID:
01438712
Views:
47
I agree with Viv that you want to keep the folder named as VS named it (MyCompany.DataAccess). However ... if you have several DataAccess projects and you want to group them all under one umbrella folder called DataAccess, here is what you can do:

1) First, right-click your solution and choose Add | New Solution Folder. Call it DataAccess.
2) This only creates a "virtual" folder ... IOW, your actual directory structure on your hard-drive will not contain a DataAccess folder.
3) If you want a real DataAccess folder (and I would), then simply go to Windows Explorer and create the folder (be aware that you have to do it in this order ... Solution Folder first, then real folder in Windows Explorer).
4) When you want to add a new project under the solution folder, simply right-click and add projects as you normally do. They will show up under the folder (both in your solution and on your hard-drive).

~~Bonnie




>Hi,
>
>When I add a project to a solution and name the project, say "MyCompany.DataAccess", Visual Studio 2005 creates a physical folder named MyCompany.DataAccess. The folder is created as a subfolder of my solution folder. I see no way to change the name of this folder. I would like the folder name to be something simpler, for example, DataAccess. But I see no options when creating/adding the project to set the folder name. I can specify where the project/folder will be placed (parent folder) but not the name of the folder itself. Strange though, as when I am reviewing a solution from a book I am reading, the author has a project named "HisCompany.DataAccess" but the folder name is DataAccess.
>
>What am I missing?
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform