How do I extract source code files from Visual Studio pollution?
<p>In a directory where source code resides, there are also Visual Studio related files, like *.user, *.vcxproj. And <code>Debug</code> and <code>Release</code> folders.</p>

<p>I would like to change project directory layout so it looks like this:</p>

<p>For example, the project is named ProjectX.</p>

<p>In the ProjectX main folder, there would be only two subfolders:</p>

<ul>
<li><p>ProjectX/Source</p></li>
<li><p>ProjectX/Build</p></li>
</ul>

<p>In ProjectX/Source there would be all source code files, but nothing else.</p>

<p>In ProjectX/Build there would be all Visual Studio-related files.</p>

<p>How can I do it?</p>