{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/dnx/issues/2405","labels_url":"https://api.github.com/repos/aspnet/dnx/issues/2405/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/dnx/issues/2405/comments","events_url":"https://api.github.com/repos/aspnet/dnx/issues/2405/events","html_url":"https://github.com/aspnet/dnx/issues/2405","id":99045118,"number":2405,"title":"When csproj project reference can not be resolved, it still should be sent as project reference","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/aspnet/dnx/labels/2%20-%20Working","name":"2 - Working","color":"CCCCCC"},{"url":"https://api.github.com/repos/aspnet/dnx/labels/needs%20design","name":"needs design","color":"006b75"}],"state":"open","locked":false,"assignee":{"login":"troydai","id":1329240,"avatar_url":"https://avatars.githubusercontent.com/u/1329240?v=3","gravatar_id":"","url":"https://api.github.com/users/troydai","html_url":"https://github.com/troydai","followers_url":"https://api.github.com/users/troydai/followers","following_url":"https://api.github.com/users/troydai/following{/other_user}","gists_url":"https://api.github.com/users/troydai/gists{/gist_id}","starred_url":"https://api.github.com/users/troydai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/troydai/subscriptions","organizations_url":"https://api.github.com/users/troydai/orgs","repos_url":"https://api.github.com/users/troydai/repos","events_url":"https://api.github.com/users/troydai/events{/privacy}","received_events_url":"https://api.github.com/users/troydai/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/aspnet/dnx/milestones/16","html_url":"https://github.com/aspnet/dnx/milestones/1.0.0-beta8","labels_url":"https://api.github.com/repos/aspnet/dnx/milestones/16/labels","id":1224345,"number":16,"title":"1.0.0-beta8","description":null,"creator":{"login":"muratg","id":1808428,"avatar_url":"https://avatars.githubusercontent.com/u/1808428?v=3","gravatar_id":"","url":"https://api.github.com/users/muratg","html_url":"https://github.com/muratg","followers_url":"https://api.github.com/users/muratg/followers","following_url":"https://api.github.com/users/muratg/following{/other_user}","gists_url":"https://api.github.com/users/muratg/gists{/gist_id}","starred_url":"https://api.github.com/users/muratg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muratg/subscriptions","organizations_url":"https://api.github.com/users/muratg/orgs","repos_url":"https://api.github.com/users/muratg/repos","events_url":"https://api.github.com/users/muratg/events{/privacy}","received_events_url":"https://api.github.com/users/muratg/received_events","type":"User","site_admin":false},"open_issues":50,"closed_issues":28,"state":"open","created_at":"2015-07-24T16:37:05Z","updated_at":"2015-09-11T17:25:07Z","due_on":null,"closed_at":null},"comments":7,"created_at":"2015-08-04T19:38:55Z","updated_at":"2015-09-11T18:49:45Z","closed_at":null,"body":"When Project A references project B - a wrapped csproj which can not  be resolved by some reason, project B is not sent as project reference to project A, however exist as unresolved dependency. This make its is hard for tooling to show it correctly in Add Reference dialog.\r\n\r\nHowever if you look at dependency info, it can be determined that Project B is actually a project, since it has a path to wrapped project.json, thus DTH could notice that and send it also as project reference in references message.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/1592091/9070665/e80794a0-3abe-11e5-8671-22285df42151.png)\r\n"},"comment":{"url":"https://api.github.com/repos/aspnet/dnx/issues/comments/139625845","html_url":"https://github.com/aspnet/dnx/issues/2405#issuecomment-139625845","issue_url":"https://api.github.com/repos/aspnet/dnx/issues/2405","id":139625845,"user":{"login":"troydai","id":1329240,"avatar_url":"https://avatars.githubusercontent.com/u/1329240?v=3","gravatar_id":"","url":"https://api.github.com/users/troydai","html_url":"https://github.com/troydai","followers_url":"https://api.github.com/users/troydai/followers","following_url":"https://api.github.com/users/troydai/following{/other_user}","gists_url":"https://api.github.com/users/troydai/gists{/gist_id}","starred_url":"https://api.github.com/users/troydai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/troydai/subscriptions","organizations_url":"https://api.github.com/users/troydai/orgs","repos_url":"https://api.github.com/users/troydai/repos","events_url":"https://api.github.com/users/troydai/events{/privacy}","received_events_url":"https://api.github.com/users/troydai/received_events","type":"User","site_admin":false},"created_at":"2015-09-11T18:49:45Z","updated_at":"2015-09-11T18:49:45Z","body":"__Proposal__\r\n\r\n_Solution 1_\r\nAdding a new boolean property `Resolved` to the `DependencyDescription` model to indicate if the dependency resolved. And the `Type` property accept the `LibraryDescription`'s `Type` value.\r\n\r\n_Solution 2_\r\nReuse the `Type` property but append the `LibraryDescription.Type` with a string indicate if it is resolved or not. So it will look like:\r\n- `Project`\r\n- `Package`\r\n- `Project:Unresolved`\r\n- `Package:Unresolved`"}}