title: VSTS - Asp.Net Build with Project Dependencies and Git Repositories
body: <p>Since VSTS has sought to bend to the popular Git source control, I have yet to see a good description of building .Net projects located in Git repositories, having project dependencies on one another.</p>
  
  <p>For instance, in Visual Studio, I build a solution that includes projects with dependencies on each other.  Then, in VSTS each of those .Net projects are versioned in separate Git repositories.  </p>
  
  <p>How, then, do you get a build on VSTS?  How do you get the artifacts (read: DLLs) from one project into the project of the other?   </p>
  
  <p><strong>UPDATE: 12/18/17</strong>
  I took @VonC's suggestion and followed-through on a VSTS (Visual Studio Team Services) hosted Nuget package.  I was able to make this work.  This process makes .Net solution files and project dependencies OBSOLETE.  </p>
  
  <p>If you want to reuse a library, you can save the binaries as a NuGet package.  </p>
  
  <p>In the downstream project, you simply assign the VSTS url reference to the Nuget package to get the Nuget Restore to find/place the binaries in your build project.  </p>
  
  <p>You will have to download and install a Credentials tool that will allow you to push your binaries to VSTS's package location.  Additionally, tell your admin to add the Packages functionality from the VSTS Marketplace.</p>
  
  <p>Thanks, @VonC for the great suggestion!</p>
  
  <p>Here are some helpful links:</p>
  
  <ul>
  <li><a href="https://docs.microsoft.com/en-us/nuget/quickstart/create-and-publish-a-package" rel="nofollow noreferrer">Create and Publish the Private Nuget Package here</a></li>
  <li><a href="https://marketplace.visualstudio.com/items?itemName=ms.feed" rel="nofollow noreferrer">VSTS Marketplace Package Manager here</a></li>
  </ul>