{"action":"created","issue":{"url":"https://api.github.com/repos/PowerShell/PowerShell/issues/6988","repository_url":"https://api.github.com/repos/PowerShell/PowerShell","labels_url":"https://api.github.com/repos/PowerShell/PowerShell/issues/6988/labels{/name}","comments_url":"https://api.github.com/repos/PowerShell/PowerShell/issues/6988/comments","events_url":"https://api.github.com/repos/PowerShell/PowerShell/issues/6988/events","html_url":"https://github.com/PowerShell/PowerShell/issues/6988","id":328988937,"node_id":"MDU6SXNzdWUzMjg5ODg5Mzc=","number":6988,"title":"Install-Package Microsoft.Windows.Compatibility // Unable to find dependent package(s) (System.Reflection.Emit.Lightweight)","user":{"login":"AlexBillon07","id":33461310,"node_id":"MDQ6VXNlcjMzNDYxMzEw","avatar_url":"https://avatars3.githubusercontent.com/u/33461310?v=4","gravatar_id":"","url":"https://api.github.com/users/AlexBillon07","html_url":"https://github.com/AlexBillon07","followers_url":"https://api.github.com/users/AlexBillon07/followers","following_url":"https://api.github.com/users/AlexBillon07/following{/other_user}","gists_url":"https://api.github.com/users/AlexBillon07/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexBillon07/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexBillon07/subscriptions","organizations_url":"https://api.github.com/users/AlexBillon07/orgs","repos_url":"https://api.github.com/users/AlexBillon07/repos","events_url":"https://api.github.com/users/AlexBillon07/events{/privacy}","received_events_url":"https://api.github.com/users/AlexBillon07/received_events","type":"User","site_admin":false},"labels":[{"id":311043053,"node_id":"MDU6TGFiZWwzMTEwNDMwNTM=","url":"https://api.github.com/repos/PowerShell/PowerShell/labels/Issue-Question","name":"Issue-Question","color":"fc2929","default":false},{"id":423531321,"node_id":"MDU6TGFiZWw0MjM1MzEzMjE=","url":"https://api.github.com/repos/PowerShell/PowerShell/labels/Resolution-Answered","name":"Resolution-Answered","color":"ffffff","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-04T10:02:35Z","updated_at":"2018-06-04T13:28:33Z","closed_at":null,"author_association":"NONE","body":"<!--\r\n\r\nFor Windows PowerShell 5.1 issues, suggestions, or feature requests please use the following link instead:\r\n- Windows PowerShell [UserVoice](https://windowsserver.uservoice.com/forums/301869-powershell)\r\n\r\nIf it is a bug report:\r\n- make sure you are able to repro it on the latest released version. \r\nYou can install the latest version from https://github.com/PowerShell/PowerShell/releases\r\n- Search the existing issues.\r\n- Refer to the [FAQ](https://github.com/PowerShell/PowerShell/blob/master/docs/FAQ.md).\r\n- Refer to the [known issues](https://github.com/PowerShell/PowerShell/blob/master/docs/KNOWNISSUES.md).\r\n- Fill out the following repro template:\r\n\r\nIf it's not a bug, please remove the template and elaborate the issue in your own words.\r\n-->\r\n\r\nHello,\r\n\r\nI am trying to install [Microsoft.Windows.Compatibility](https://www.nuget.org/packages/Microsoft.Windows.Compatibility) package from NuGet with Powershell 6.0.2 console but I always get the same exception Unable to find dependent package(s) (System.Reflection.Emit.Lightweight)\r\n\r\nI am not sure if I report this issue in the right place so please point me in the right direction if I am mistaken.\r\n\r\nSteps to reproduce\r\n------------------\r\n\r\n```powershell\r\nFind-Package -Name Microsoft.Windows.Compatibility -ProviderName NuGet | Install-Package\r\n```\r\n\r\nExpected behavior\r\n-----------------\r\nInstallation of the package\r\n\r\nActual behavior\r\n---------------\r\nUnableToFindDependencyPackage Exception\r\n\r\n```none\r\nInstall-Package : Unable to find dependent package(s) (System.Reflection.Emit.Lightweight)\r\nAt line:1 char:74\r\n+ ... ft.Windows.Compatibility -ProviderName NuGet | Install-Package -Force\r\n+                                                    ~~~~~~~~~~~~~~~~~~~~~~\r\n+ CategoryInfo          : ObjectNotFound: (System.Reflection.Emit.Lightweight:String) [Install-Package], Exception\r\n+ FullyQualifiedErrorId : UnableToFindDependencyPackage,Microsoft.PowerShell.PackageManagement.Cmdlets.InstallPackage\r\n```\r\n\r\nEnvironment data\r\n----------------\r\n\r\n<!-- provide the output of $PSVersionTable -->\r\n\r\n```powershell\r\n> $PSVersionTable\r\nName                           Value\r\n----                           -----\r\nPSVersion                      6.0.2\r\nPSEdition                      Core\r\nGitCommitId                    v6.0.2\r\nOS                             Microsoft Windows 6.1.7601 S\r\nPlatform                       Win32NT\r\nPSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}\r\nPSRemotingProtocolVersion      2.3\r\nSerializationVersion           1.1.0.1\r\nWSManStackVersion              3.0\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/PowerShell/PowerShell/issues/comments/394354410","html_url":"https://github.com/PowerShell/PowerShell/issues/6988#issuecomment-394354410","issue_url":"https://api.github.com/repos/PowerShell/PowerShell/issues/6988","id":394354410,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NDM1NDQxMA==","user":{"login":"markekraus","id":6509955,"node_id":"MDQ6VXNlcjY1MDk5NTU=","avatar_url":"https://avatars3.githubusercontent.com/u/6509955?v=4","gravatar_id":"","url":"https://api.github.com/users/markekraus","html_url":"https://github.com/markekraus","followers_url":"https://api.github.com/users/markekraus/followers","following_url":"https://api.github.com/users/markekraus/following{/other_user}","gists_url":"https://api.github.com/users/markekraus/gists{/gist_id}","starred_url":"https://api.github.com/users/markekraus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markekraus/subscriptions","organizations_url":"https://api.github.com/users/markekraus/orgs","repos_url":"https://api.github.com/users/markekraus/repos","events_url":"https://api.github.com/users/markekraus/events{/privacy}","received_events_url":"https://api.github.com/users/markekraus/received_events","type":"User","site_admin":false},"created_at":"2018-06-04T13:28:33Z","updated_at":"2018-06-04T13:28:33Z","author_association":"COLLABORATOR","body":"For 6.0.0-6.0.2, you can use PSCoreWindowsCompat https://www.powershellgallery.com/packages/PSCoreWindowsCompat/ if you just want to make the missing libraries loaded in powerShell."}}
{"actor":{"display_login":"markekraus"}}