Question: The issue is simple really. Instead of creating folders in Visual Studio, I create a directory structure for my project on the file system. How do I include all the folders and files in a project, keeping the structure?

If I "Add Existing File" on a folder named Services and navigate to a file in the directory structure .. Services > AccountManagement > CreateAccount.cs, it appears in Visual Studio like so: Services > CreateAccount.cs. I do not want this.

I have an entire directory structure worked out already, as I am mimicking our client developers using the same structure for organization. How do I add all the folders and files to the project in Visual Studio? Or do I have to do what most Microsoft users do and "put up with it" and recreate each and every folder through Visual Studio?

Answer: 
**Copy & Paste**. 

To Add a folder, all the sub-directories, and files we can also Copy and Paste. 
For example we can: 

1. Right click in Windows explorer on the folder, and Copy on the folder with many files and folders.
2. Then in Visual Studio Solution explorer, right click on the destination folder and click paste.
3. Optional add to TFS; Then in the top folder right click and check in to TFS to check in all sub-folders and files.
I think I found a way to do this with the Compile Include=".\Code\*\*\*.cs"
What I wanted is to include code recursively under my Code folder.

Here is the project file sample.

```xml
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="15.0" DefaultTargets="BuildTarget">
    <PropertyGroup>
        <OutputType>Library</OutputType>
    </PropertyGroup>
    <PropertyGroup>
        <StartupObject />
    </PropertyGroup>
    <PropertyGroup>
        <RootNamespace>Autogen</RootNamespace>
    </PropertyGroup>
    <ItemGroup>
        <Compile Remove="@(Compile)" />
        <Compile Include=".\Code\**\*.cs" />
    </ItemGroup>
    <Target Name="BuildTarget">
        <Message Text="Build selected" Importance="high"/>
    </Target>
</Project>

```