{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/cli/issues/1705","repository_url":"https://api.github.com/repos/dotnet/cli","labels_url":"https://api.github.com/repos/dotnet/cli/issues/1705/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/cli/issues/1705/comments","events_url":"https://api.github.com/repos/dotnet/cli/issues/1705/events","html_url":"https://github.com/dotnet/cli/issues/1705","id":138569232,"number":1705,"title":"Cannot reference an xproj project, restore shows no errors, build and project.model.server show dependency cannot be resolved","user":{"login":"abpiskunov","id":1592091,"avatar_url":"https://avatars.githubusercontent.com/u/1592091?v=3","gravatar_id":"","url":"https://api.github.com/users/abpiskunov","html_url":"https://github.com/abpiskunov","followers_url":"https://api.github.com/users/abpiskunov/followers","following_url":"https://api.github.com/users/abpiskunov/following{/other_user}","gists_url":"https://api.github.com/users/abpiskunov/gists{/gist_id}","starred_url":"https://api.github.com/users/abpiskunov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abpiskunov/subscriptions","organizations_url":"https://api.github.com/users/abpiskunov/orgs","repos_url":"https://api.github.com/users/abpiskunov/repos","events_url":"https://api.github.com/users/abpiskunov/events{/privacy}","received_events_url":"https://api.github.com/users/abpiskunov/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotnet/cli/labels/blocking-partner","name":"blocking-partner","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-04T19:48:50Z","updated_at":"2016-03-04T19:51:44Z","closed_at":null,"body":"## Steps to reproduce\r\n1. Create a new console app and a class library , both in src folder, having same target frameworks\r\n2. add project reference console -> class library\r\n3. Wait for restore\r\n\r\n## Expected  behavior\r\nRestore successful and build works fine\r\n\r\n## Actual behavior\r\n\r\nRestore console does not show errors, however project.model.server shows: NU1001: The dependency ConsoleApp7 >= 1.0.0-* could not be resolved.\r\nand\r\nbuild also shows same error: \r\n\r\n C:\\Program Files\\dotnet\\bin\\dotnet.exe build \"C:\\Users\\antonpis\\Documents\\Visual Studio 2015\\Projects\\ConsoleApp7\\src\\ClassLibrary1\" --configuration Debug --no-dependencies --build-base-path \"C:\\Users\\antonpis\\Documents\\Visual Studio 2015\\Projects\\ConsoleApp7\\artifacts\"\r\n2>  Compiling ClassLibrary1 for .NETStandard,Version=v1.5\r\n2>  Compilation failed.\r\n2>      0 Warning(s)\r\n2>      1 Error(s)\r\n2>  Time elapsed 00:00:01.2913292\r\n2>C:\\Users\\antonpis\\Documents\\Visual Studio 2015\\Projects\\ConsoleApp7\\src\\ClassLibrary1\\project.json(5,20): error NU1001: The dependency ConsoleApp7 >= 1.0.0-* could not be resolved.\r\n\r\n## Environment data\r\n`dotnet --version` output:\r\n\r\n\r\n![image](https://cloud.githubusercontent.com/assets/1592091/13538368/218b012a-e218-11e5-94bf-2cf923f026f4.png)\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/dotnet/cli/issues/comments/192437961","html_url":"https://github.com/dotnet/cli/issues/1705#issuecomment-192437961","issue_url":"https://api.github.com/repos/dotnet/cli/issues/1705","id":192437961,"user":{"login":"abpiskunov","id":1592091,"avatar_url":"https://avatars.githubusercontent.com/u/1592091?v=3","gravatar_id":"","url":"https://api.github.com/users/abpiskunov","html_url":"https://github.com/abpiskunov","followers_url":"https://api.github.com/users/abpiskunov/followers","following_url":"https://api.github.com/users/abpiskunov/following{/other_user}","gists_url":"https://api.github.com/users/abpiskunov/gists{/gist_id}","starred_url":"https://api.github.com/users/abpiskunov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abpiskunov/subscriptions","organizations_url":"https://api.github.com/users/abpiskunov/orgs","repos_url":"https://api.github.com/users/abpiskunov/repos","events_url":"https://api.github.com/users/abpiskunov/events{/privacy}","received_events_url":"https://api.github.com/users/abpiskunov/received_events","type":"User","site_admin":false},"created_at":"2016-03-04T19:51:44Z","updated_at":"2016-03-04T19:51:44Z","body":".NET Command Line Tools (1.0.0-beta-001614)\r\n\r\nProduct Information:\r\n Version:     1.0.0-beta-001614\r\n Commit Sha:  78dbbfc83d\r\n\r\nRuntime Environment:\r\n OS Name:     Windows\r\n OS Version:  10.0.10586\r\n OS Platform: Windows\r\n Runtime Id:  win10-x64"}}