title: Adding one solution with multiple projects outside to git repos from visual studio
body: <p>I have complete software built on .net code and visual studio 19 ver that has both windows and web apps.
  On the folder level complete code is inside a C:\Code\source\v2.000 and BuildAll.sln that builds the complete software is C:\Code\source\v2.000_BuildAll\ and .sln references the projects as below</p>
  <p><code>Project(&quot;{GUI-ID}&quot;) = &quot;ProjectName&quot;, &quot;..\ProjecctPath&quot;, &quot;{GUI-ID}&quot; EndProject</code></p>
  <p>The structure of my solution (.sln) is as below in visual studio</p>
  <p>Solution BuildAll</p>
  <ul>
  <li>Lib (Folder)
  Around 50 of projects (.csproj) inside</li>
  <li>Api (Folder)
  4 projects (csproj) inside</li>
  <li>Apps (Folder)
  4 Windows apps projects</li>
  <li>WindowsServices (Folder)
  2 winservice projects</li>
  <li>Web (Folder)
  2 mvc projects</li>
  </ul>
  <p>As we migrate to git, when I do File&gt;Add to source control, it gives me error that &quot;Your solution contains files outside solution folders which will not be managed by git&quot; and these are actually inside v2.000 but somewhere in sub folders like \v2.000\libs\ or \v2.000\apps\ or v2.000\coreframework\
  Is there a way to put all the code structure to git. I understand, 1 .sln means 1 git, i am not sure why this behaviour/error at visual studio. My reference libraries are not in BuildAll folder but very well inside ..\v2.000. Any help suggestion would be appreciated.</p>
  <p>PS: sorry about the long description, did this to make things clear</p>