title: VS2015 Project.json Dependencies in Console app
body: <p>I have a console app started in VS2015. I need three references added to the project, but I can't get all three to be correctly referenced and compiled. Here is what I am trying to do:</p>
  
  <ol>
  <li>I have two older .NET class libraries compiled to DLL's. I copied the DLL's into the console app project folder:</li>
  </ol>
  
  <p>z:\Documents\Visual Studio 2015\Projects\[solution1]\console app\FirstFile.dll</p>
  
  <p>z:\Documents\Visual Studio 2015\Projects\[solution1]\console app\SecondFile.dll</p>
  
  <ol start="2">
  <li><p>My project.json file dependencies section now looks like this:</p>
  
  <pre><code>"dependencies": {
    "FirstFile": "1.0.0-*",
    "SecondFile": "1.0.0-*"
  }
  </code></pre>
  
  <p>This works correctly. I can compile, use the classes in the DLLs and all is well.</p></li>
  <li><p>I next needed to add a reference to an EF project that is in a different solution, and in a different solution folder. In my console solution, I added the EF project from its solution to my console solution using Solution > Add Existing Project. I then added a Project Reference to my console app.</p></li>
  </ol>
  
  <p>The physical layout on my drive looks like this:</p>
  
  <p>z:\Documents\Visual Studio 2015\Projects\[solution1]\[console app project]</p>
  
  <p>z:\Documents\Visual Studio 2015\Projects\[solution2]\[referenced EF project]</p>
  
  <p>The console app and the EF project both reference the same .NET framework 4.5.1.</p>
  
  <p>After I add the project reference, the dependencies section in the console app project.json file now looks like:</p>
  
  <pre><code>    "dependencies": {
        "FirstFile": "1.0.0-*",
        "EF Project": "1.0.0-*",
        "SecondFile": "1.0.0-*"
      }
  </code></pre>
  
  <p>I then run dnu restore. It immediately returns error message that it cannot find any of the dependencies:</p>
  
  <p>Unable to locate Dependency FirstFile >= 1.0.0-*</p>
  
  <p>Unable to locate Dependency SecondFile >= 1.0.0-*</p>
  
  <p>Unable to locate Dependency EF Project >= 1.0.0-*</p>
  
  <ol start="4">
  <li><p>I added a global.json file with the following source option:</p>
  
  <pre><code>{
    "sources":["","Z:\\Documents\\Visual Studio 2015\\Projects\\solution2\\referenced EF Project"]
  }
  </code></pre></li>
  <li><p>I re-ran the dun restore, but it has the same three cannot find dependencies errors.</p></li>
  </ol>
  
  <p>Any suggestions to get this scenario working?</p>