{"action":"created","issue":{"url":"https://api.github.com/repos/NuGet/Home/issues/910","repository_url":"https://api.github.com/repos/NuGet/Home","labels_url":"https://api.github.com/repos/NuGet/Home/issues/910/labels{/name}","comments_url":"https://api.github.com/repos/NuGet/Home/issues/910/comments","events_url":"https://api.github.com/repos/NuGet/Home/issues/910/events","html_url":"https://github.com/NuGet/Home/issues/910","id":93900581,"number":910,"title":"Adding a non-supported package to a portable project targeting UWP, NET46 and ASP.NET results in 25 errors","user":{"login":"davkean","id":1103906,"avatar_url":"https://avatars.githubusercontent.com/u/1103906?v=3","gravatar_id":"","url":"https://api.github.com/users/davkean","html_url":"https://github.com/davkean","followers_url":"https://api.github.com/users/davkean/followers","following_url":"https://api.github.com/users/davkean/following{/other_user}","gists_url":"https://api.github.com/users/davkean/gists{/gist_id}","starred_url":"https://api.github.com/users/davkean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davkean/subscriptions","organizations_url":"https://api.github.com/users/davkean/orgs","repos_url":"https://api.github.com/users/davkean/repos","events_url":"https://api.github.com/users/davkean/events{/privacy}","received_events_url":"https://api.github.com/users/davkean/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NuGet/Home/labels/Area:Error%20Handling","name":"Area:Error Handling","color":"e11d21"},{"url":"https://api.github.com/repos/NuGet/Home/labels/Priority:1","name":"Priority:1","color":"fbca04"},{"url":"https://api.github.com/repos/NuGet/Home/labels/Type:Bug","name":"Type:Bug","color":"207de5"}],"state":"open","locked":false,"assignee":{"login":"joelverhagen","id":94054,"avatar_url":"https://avatars.githubusercontent.com/u/94054?v=3","gravatar_id":"","url":"https://api.github.com/users/joelverhagen","html_url":"https://github.com/joelverhagen","followers_url":"https://api.github.com/users/joelverhagen/followers","following_url":"https://api.github.com/users/joelverhagen/following{/other_user}","gists_url":"https://api.github.com/users/joelverhagen/gists{/gist_id}","starred_url":"https://api.github.com/users/joelverhagen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joelverhagen/subscriptions","organizations_url":"https://api.github.com/users/joelverhagen/orgs","repos_url":"https://api.github.com/users/joelverhagen/repos","events_url":"https://api.github.com/users/joelverhagen/events{/privacy}","received_events_url":"https://api.github.com/users/joelverhagen/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/NuGet/Home/milestones/26","html_url":"https://github.com/NuGet/Home/milestones/3.5%20RC","labels_url":"https://api.github.com/repos/NuGet/Home/milestones/26/labels","id":1675154,"number":26,"title":"3.5 RC","description":"","creator":{"login":"yishaigalatzer","id":1238711,"avatar_url":"https://avatars.githubusercontent.com/u/1238711?v=3","gravatar_id":"","url":"https://api.github.com/users/yishaigalatzer","html_url":"https://github.com/yishaigalatzer","followers_url":"https://api.github.com/users/yishaigalatzer/followers","following_url":"https://api.github.com/users/yishaigalatzer/following{/other_user}","gists_url":"https://api.github.com/users/yishaigalatzer/gists{/gist_id}","starred_url":"https://api.github.com/users/yishaigalatzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yishaigalatzer/subscriptions","organizations_url":"https://api.github.com/users/yishaigalatzer/orgs","repos_url":"https://api.github.com/users/yishaigalatzer/repos","events_url":"https://api.github.com/users/yishaigalatzer/events{/privacy}","received_events_url":"https://api.github.com/users/yishaigalatzer/received_events","type":"User","site_admin":false},"open_issues":297,"closed_issues":5,"state":"open","created_at":"2016-03-31T00:30:26Z","updated_at":"2016-04-11T17:33:13Z","due_on":"2016-06-01T07:00:00Z","closed_at":null},"comments":4,"created_at":"2015-07-08T22:03:13Z","updated_at":"2016-04-11T18:41:10Z","closed_at":null,"body":"I have a project.json like this:\r\n```\r\n{\r\n  \"supports\": {\r\n    \"net46.app\": {},\r\n    \"uwp.10.0.app\": {},\r\n    \"dnxcore50.app\": {}\r\n  },\r\n  \"dependencies\": {\r\n    \"Microsoft.NETCore\": \"5.0.0-beta-23106\",\r\n    \"EntityFramework.Cache\": \"1.0.0\"\r\n  },\r\n  \"frameworks\": {\r\n    \"dotnet\": {}\r\n  }\r\n}\r\n```\r\n\r\nThis results in 25 errors:\r\n\r\nSeverity\tCode\tDescription\tProject\tFile\tLine\r\nError\t\tEntityFramework 6.1.0 is not compatible with DNXCore,Version=v5.0 (win7-x64).\t\t\t0\r\nError\t\tEntityFramework 6.1.0 is not compatible with DNXCore,Version=v5.0 (win7-x86).\t\t\t0\r\nError\t\tEntityFramework 6.1.0 is not compatible with DNXCore,Version=v5.0.\t\t\t0\r\nError\t\tEntityFramework.Cache 1.0.0 is not compatible with .NETPlatform,Version=v5.0.\t\t\t0\r\nError\t\tEntityFramework.Cache 1.0.0 is not compatible with DNXCore,Version=v5.0 (win7-x64).\t\t\t0\r\nError\t\tEntityFramework.Cache 1.0.0 is not compatible with DNXCore,Version=v5.0 (win7-x86).\t\t\t0\r\nError\t\tEntityFramework.Cache 1.0.0 is not compatible with DNXCore,Version=v5.0.\t\t\t0\r\nError\t\tEntityFramework.Cache 1.0.0 is not compatible with UAP,Version=v10.0 (win10-arm).\t\t\t0\r\nError\t\tEntityFramework.Cache 1.0.0 is not compatible with UAP,Version=v10.0 (win10-arm-aot).\t\t\t0\r\nError\t\tEntityFramework.Cache 1.0.0 is not compatible with UAP,Version=v10.0 (win10-x64).\t\t\t0\r\nError\t\tEntityFramework.Cache 1.0.0 is not compatible with UAP,Version=v10.0 (win10-x64-aot).\t\t\t0\r\nError\t\tEntityFramework.Cache 1.0.0 is not compatible with UAP,Version=v10.0 (win10-x86).\t\t\t0\r\nError\t\tEntityFramework.Cache 1.0.0 is not compatible with UAP,Version=v10.0 (win10-x86-aot).\t\t\t0\r\nError\t\tEntityFramework.Cache 1.0.0 is not compatible with UAP,Version=v10.0.\t\t\t0\r\nError\t\tSome packages are not compatible with .NETPlatform,Version=v5.0.\t\t\t0\r\nError\t\tSome packages are not compatible with DNXCore,Version=v5.0 (win7-x64).\t\t\t0\r\nError\t\tSome packages are not compatible with DNXCore,Version=v5.0 (win7-x86).\t\t\t0\r\nError\t\tSome packages are not compatible with DNXCore,Version=v5.0.\t\t\t0\r\nError\t\tSome packages are not compatible with UAP,Version=v10.0 (win10-arm).\t\t\t0\r\nError\t\tSome packages are not compatible with UAP,Version=v10.0 (win10-arm-aot).\t\t\t0\r\nError\t\tSome packages are not compatible with UAP,Version=v10.0 (win10-x64).\t\t\t0\r\nError\t\tSome packages are not compatible with UAP,Version=v10.0 (win10-x64-aot).\t\t\t0\r\nError\t\tSome packages are not compatible with UAP,Version=v10.0 (win10-x86).\t\t\t0\r\nError\t\tSome packages are not compatible with UAP,Version=v10.0 (win10-x86-aot).\t\t\t0\r\nError\t\tSome packages are not compatible with UAP,Version=v10.0.\t\t\t0\r\n\r\n\r\nInstead of showing these all as errors, can instead we make use of the new ErrorList's ability to expand an error, so that we say something like \"Some packages are not compatible with this project\", then if I want the details, expand the error.\r\n\r\nAll of this information is just noise, all I want to know is that the package is not compatible with the current targets. None of above makes any sense.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/NuGet/Home/issues/comments/208491639","html_url":"https://github.com/NuGet/Home/issues/910#issuecomment-208491639","issue_url":"https://api.github.com/repos/NuGet/Home/issues/910","id":208491639,"user":{"login":"joelverhagen","id":94054,"avatar_url":"https://avatars.githubusercontent.com/u/94054?v=3","gravatar_id":"","url":"https://api.github.com/users/joelverhagen","html_url":"https://github.com/joelverhagen","followers_url":"https://api.github.com/users/joelverhagen/followers","following_url":"https://api.github.com/users/joelverhagen/following{/other_user}","gists_url":"https://api.github.com/users/joelverhagen/gists{/gist_id}","starred_url":"https://api.github.com/users/joelverhagen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joelverhagen/subscriptions","organizations_url":"https://api.github.com/users/joelverhagen/orgs","repos_url":"https://api.github.com/users/joelverhagen/repos","events_url":"https://api.github.com/users/joelverhagen/events{/privacy}","received_events_url":"https://api.github.com/users/joelverhagen/received_events","type":"User","site_admin":false},"created_at":"2016-04-11T18:41:10Z","updated_at":"2016-04-11T18:41:10Z","body":"As a workaround until you fix the warnings, you could use\r\n```\r\ndotnet restore --verbosity error\r\n```\r\nThis will still give you visibility into big problems but hide those millions of warnings."}}