{"action":"created","issue":{"url":"https://api.github.com/repos/NuGet/Home/issues/1535","labels_url":"https://api.github.com/repos/NuGet/Home/issues/1535/labels{/name}","comments_url":"https://api.github.com/repos/NuGet/Home/issues/1535/comments","events_url":"https://api.github.com/repos/NuGet/Home/issues/1535/events","html_url":"https://github.com/NuGet/Home/issues/1535","id":110331900,"number":1535,"title":"Can't install portable-net451-* package into .NET 4.5.1 class library","user":{"login":"AArnott","id":3548,"avatar_url":"https://avatars.githubusercontent.com/u/3548?v=3","gravatar_id":"","url":"https://api.github.com/users/AArnott","html_url":"https://github.com/AArnott","followers_url":"https://api.github.com/users/AArnott/followers","following_url":"https://api.github.com/users/AArnott/following{/other_user}","gists_url":"https://api.github.com/users/AArnott/gists{/gist_id}","starred_url":"https://api.github.com/users/AArnott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AArnott/subscriptions","organizations_url":"https://api.github.com/users/AArnott/orgs","repos_url":"https://api.github.com/users/AArnott/repos","events_url":"https://api.github.com/users/AArnott/events{/privacy}","received_events_url":"https://api.github.com/users/AArnott/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":32,"created_at":"2015-10-07T22:34:04Z","updated_at":"2015-10-09T23:50:58Z","closed_at":"2015-10-08T16:09:34Z","body":"VS: 14.0.23107.0 D14Rel\r\nNuGet Package Manager for VS 3.2.60914.10516\r\n\r\nRepro steps:\r\n1. Create a new C# class library that targets .NET 4.5.1 (*not* a portable library)\r\n1. In the Package Manager Console: `install-package nerdbank.fullduplexstream -pre -version 0.1.15-beta`\r\n\r\nExpected:\r\npackage installs successfully because it has a `lib\\portable-net451%2Bwin81%2Bwpa81` folder, which obviously suggests compatibility with .NET 4.5.1 class libraries.\r\n\r\nActual: \r\nPackage installation fails with this log in VS:\r\n\r\n    PM> install-package nerdbank.fullduplexstream -pre\r\n    Attempting to gather dependencies information for package 'nerdbank.fullduplexstream.0.1.15-beta' with respect to project 'ClassLibrary17', targeting '.NETFramework,Version=v4.5.1'\r\n    Attempting to resolve dependencies for package 'nerdbank.fullduplexstream.0.1.15-beta' with DependencyBehavior 'Lowest'\r\n    Resolving actions to install package 'nerdbank.fullduplexstream.0.1.15-beta'\r\n    Resolved actions to install package 'nerdbank.fullduplexstream.0.1.15-beta'\r\n    Adding package 'System.Diagnostics.Tools.4.0.0' to folder 'c:\\users\\andarno\\documents\\visual studio 2015\\Projects\\ClassLibrary17\\packages'\r\n    Added package 'System.Diagnostics.Tools.4.0.0' to folder 'c:\\users\\andarno\\documents\\visual studio 2015\\Projects\\ClassLibrary17\\packages'\r\n    Added package 'System.Diagnostics.Tools.4.0.0' to 'packages.config'\r\n    Successfully installed 'System.Diagnostics.Tools 4.0.0' to ClassLibrary17\r\n    Adding package 'System.Globalization.4.0.0' to folder 'c:\\users\\andarno\\documents\\visual studio 2015\\Projects\\ClassLibrary17\\packages'\r\n    Added package 'System.Globalization.4.0.0' to folder 'c:\\users\\andarno\\documents\\visual studio 2015\\Projects\\ClassLibrary17\\packages'\r\n    Added package 'System.Globalization.4.0.0' to 'packages.config'\r\n    Successfully installed 'System.Globalization 4.0.0' to ClassLibrary17\r\n    Adding package 'System.Linq.4.0.0' to folder 'c:\\users\\andarno\\documents\\visual studio 2015\\Projects\\ClassLibrary17\\packages'\r\n    Added package 'System.Linq.4.0.0' to folder 'c:\\users\\andarno\\documents\\visual studio 2015\\Projects\\ClassLibrary17\\packages'\r\n    Added package 'System.Linq.4.0.0' to 'packages.config'\r\n    Successfully installed 'System.Linq 4.0.0' to ClassLibrary17\r\n    Adding package 'System.Reflection.4.0.0' to folder 'c:\\users\\andarno\\documents\\visual studio 2015\\Projects\\ClassLibrary17\\packages'\r\n    Added package 'System.Reflection.4.0.0' to folder 'c:\\users\\andarno\\documents\\visual studio 2015\\Projects\\ClassLibrary17\\packages'\r\n    Added package 'System.Reflection.4.0.0' to 'packages.config'\r\n    Successfully installed 'System.Reflection 4.0.0' to ClassLibrary17\r\n    Adding package 'System.Resources.ResourceManager.4.0.0' to folder 'c:\\users\\andarno\\documents\\visual studio 2015\\Projects\\ClassLibrary17\\packages'\r\n    Added package 'System.Resources.ResourceManager.4.0.0' to folder 'c:\\users\\andarno\\documents\\visual studio 2015\\Projects\\ClassLibrary17\\packages'\r\n    Added package 'System.Resources.ResourceManager.4.0.0' to 'packages.config'\r\n    Successfully installed 'System.Resources.ResourceManager 4.0.0' to ClassLibrary17\r\n    Install failed. Rolling back...\r\n    Package 'System.Runtime 4.0.20' does not exist in project 'ClassLibrary17'\r\n    Removed package 'System.Resources.ResourceManager 4.0.0' from 'packages.config'\r\n    Removed package 'System.Reflection 4.0.0' from 'packages.config'\r\n    Removed package 'System.Linq 4.0.0' from 'packages.config'\r\n    Removed package 'System.Globalization 4.0.0' from 'packages.config'\r\n    Removed package 'System.Diagnostics.Tools 4.0.0' from 'packages.config'\r\n    Package 'System.Runtime 4.0.20' does not exist in folder 'c:\\users\\andarno\\documents\\visual studio 2015\\Projects\\ClassLibrary17\\packages'\r\n    Removing package 'System.Resources.ResourceManager 4.0.0' from folder 'c:\\users\\andarno\\documents\\visual studio 2015\\Projects\\ClassLibrary17\\packages'\r\n    Removed package 'System.Resources.ResourceManager 4.0.0' from folder 'c:\\users\\andarno\\documents\\visual studio 2015\\Projects\\ClassLibrary17\\packages'\r\n    Removing package 'System.Reflection 4.0.0' from folder 'c:\\users\\andarno\\documents\\visual studio 2015\\Projects\\ClassLibrary17\\packages'\r\n    Removed package 'System.Reflection 4.0.0' from folder 'c:\\users\\andarno\\documents\\visual studio 2015\\Projects\\ClassLibrary17\\packages'\r\n    Removing package 'System.Linq 4.0.0' from folder 'c:\\users\\andarno\\documents\\visual studio 2015\\Projects\\ClassLibrary17\\packages'\r\n    Removed package 'System.Linq 4.0.0' from folder 'c:\\users\\andarno\\documents\\visual studio 2015\\Projects\\ClassLibrary17\\packages'\r\n    Removing package 'System.Globalization 4.0.0' from folder 'c:\\users\\andarno\\documents\\visual studio 2015\\Projects\\ClassLibrary17\\packages'\r\n    Removed package 'System.Globalization 4.0.0' from folder 'c:\\users\\andarno\\documents\\visual studio 2015\\Projects\\ClassLibrary17\\packages'\r\n    Removing package 'System.Diagnostics.Tools 4.0.0' from folder 'c:\\users\\andarno\\documents\\visual studio 2015\\Projects\\ClassLibrary17\\packages'\r\n    Removed package 'System.Diagnostics.Tools 4.0.0' from folder 'c:\\users\\andarno\\documents\\visual studio 2015\\Projects\\ClassLibrary17\\packages'\r\n    install-package : Could not install package 'System.Runtime 4.0.20'. You are trying to install this package \r\n    into a project that targets '.NETFramework,Version=v4.5.1', but the package does not contain any assembly \r\n    references or content files that are compatible with that framework. For more information, contact the \r\n    package author.\r\n    At line:1 char:1\r\n    + install-package nerdbank.fullduplexstream -pre\r\n    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n        + CategoryInfo          : NotSpecified: (:) [Install-Package], Exception\r\n        + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.Install \r\n       PackageCommand\r\n \r\n    PM> "},"comment":{"url":"https://api.github.com/repos/NuGet/Home/issues/comments/147012899","html_url":"https://github.com/NuGet/Home/issues/1535#issuecomment-147012899","issue_url":"https://api.github.com/repos/NuGet/Home/issues/1535","id":147012899,"user":{"login":"AArnott","id":3548,"avatar_url":"https://avatars.githubusercontent.com/u/3548?v=3","gravatar_id":"","url":"https://api.github.com/users/AArnott","html_url":"https://github.com/AArnott","followers_url":"https://api.github.com/users/AArnott/followers","following_url":"https://api.github.com/users/AArnott/following{/other_user}","gists_url":"https://api.github.com/users/AArnott/gists{/gist_id}","starred_url":"https://api.github.com/users/AArnott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AArnott/subscriptions","organizations_url":"https://api.github.com/users/AArnott/orgs","repos_url":"https://api.github.com/users/AArnott/repos","events_url":"https://api.github.com/users/AArnott/events{/privacy}","received_events_url":"https://api.github.com/users/AArnott/received_events","type":"User","site_admin":false},"created_at":"2015-10-09T23:50:58Z","updated_at":"2015-10-09T23:50:58Z","body":"I'd love to save my effort where its value would be obsolete quickly, @yishaigalatzer. What part(s) of it is obsoleted by update 1 and where can I read about the newer design?"}}