title: ASP.NET 5.0 build issue on TFS build server 2013
body: <p>I recently added a test project to an ASP.NET 5.0 project. The tfs build server is unable to find assemblies for my test project. project.json file below</p>
  
  <pre><code>{
    "version": "1.0.0-*",
    "description": "ConfigTests test project",
    "authors": [ "" ],
    "tags": [ "" ],
    "projectUrl": "",
    "licenseUrl": "",
  
    "dependencies": {
      "Microsoft.AspNet.Mvc": "6.0.0-beta6",
      "xunit": "2.1.0-beta4-build3109",
      "xunit.runner.dnx": "2.1.0-beta4-build134",
      "Moq": "4.2.1507.118",
      "ConfigSvc": "3.0.0-*",
      "FluentAssertions": "3.5.0"
    },
    "commands": {
      "test": "xunit.runner.dnx"
    },
  
    "frameworks": {
      "dnx451": { }
    }
  }
  </code></pre>
  
  <p>The build outputs errors as such.</p>
  
  <pre><code>Unable to resolve dependency Microsoft.AspNet.Mvc 6.0.0-beta6
  Unable to resolve dependency xunit 2.1.0-beta4-build3109
  Unable to resolve dependency xunit.runner.dnx 2.1.0-beta4-build134
  Unable to resolve dependency Moq 4.2.1507.118
  Unable to resolve dependency FluentAssertions 3.5.0
  Unable to resolve dependency Microsoft.AspNet.Server.IIS 1.0.0-beta6
  Unable to resolve dependency Microsoft.AspNet.Server.WebListener 1.0.0-beta6
  Unable to resolve dependency Microsoft.AspNet.StaticFiles 1.0.0-beta6
  Unable to resolve dependency Microsoft.AspNet.Diagnostics 1.0.0-beta6
  Unable to resolve dependency Microsoft.AspNet.DataProtection 1.0.0-beta6
  Unable to resolve dependency Microsoft.AspNet.Authentication 1.0.0-beta6
  Unable to resolve dependency Microsoft.AspNet.Authentication.Cookies 1.0.0-beta6
  Unable to resolve dependency Microsoft.AspNet.Authentication.OpenIdConnect 1.0.0-beta6
  Unable to resolve dependency Microsoft.AspNet.Authentication.OAuthBearer 1.0.0-beta6
  Unable to resolve dependency Microsoft.AspNet.Cors 1.0.0-beta6
  Unable to resolve dependency Microsoft.Framework.Configuration 1.0.0-beta6
  Unable to resolve dependency Microsoft.Framework.Configuration.Json 1.0.0-beta6
  Unable to resolve dependency Microsoft.Framework.DependencyInjection 1.0.0-beta6
  Unable to resolve dependency Microsoft.Framework.OptionsModel 1.0.0-beta6
  Unable to resolve dependency Microsoft.Framework.Runtime 1.0.0-beta6
  Unable to resolve dependency Microsoft.Framework.Logging 1.0.0-beta6
  Unable to resolve dependency Newtonsoft.Json 7.0.1
  Using Assembly dependency framework/fx/mscorlib 4.0.0.0
    Source: C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\mscorlib.dll
  Using Assembly dependency framework/fx/System 4.0.0.0
    Source: C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\System.dll
  Using Assembly dependency framework/fx/System.Core 4.0.0.0
    Source: C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\System.Core.dll
  Using Assembly dependency framework/fx/Microsoft.CSharp 4.0.0.0
  </code></pre>
  
  <p>The build command is as follows:</p>
  
  <blockquote>
    <p>C:\Users\build.dnx\runtimes\dnx-clr-win-x86.1.0.0-beta5\bin\dnx.exe --appbase "C:\Builds\2\A\CI_Config\src\Config\ConfigSvc\ConfigSvcTests" "C:\Users\build.dnx\runtimes\dnx-clr-win-x86.1.0.0-beta5\bin\lib\Microsoft.Framework.PackageManager\Microsoft.Framework.PackageManager.dll" pack "C:\Builds\2\A\CI_Config\src\Config\ConfigSvc\ConfigSvcTests" --configuration Release --out "C:\Builds\2\A\CI_Config\bin"</p>
  </blockquote>
  
  <p>my project doesnt reference most of these assemblies. I'm curious as to where the tfs build agent is looking for the assemblies. Maybe I am missing something crucial here about dependencies with the project.json file</p>