{"action":"opened","issue":{"url":"https://api.github.com/repos/NuGet/Home/issues/863","labels_url":"https://api.github.com/repos/NuGet/Home/issues/863/labels{/name}","comments_url":"https://api.github.com/repos/NuGet/Home/issues/863/comments","events_url":"https://api.github.com/repos/NuGet/Home/issues/863/events","html_url":"https://github.com/NuGet/Home/issues/863","id":92336282,"number":863,"title":"$package.GetFiles with VS2015","user":{"login":"pascalberger","id":2190718,"avatar_url":"https://avatars.githubusercontent.com/u/2190718?v=3","gravatar_id":"","url":"https://api.github.com/users/pascalberger","html_url":"https://github.com/pascalberger","followers_url":"https://api.github.com/users/pascalberger/followers","following_url":"https://api.github.com/users/pascalberger/following{/other_user}","gists_url":"https://api.github.com/users/pascalberger/gists{/gist_id}","starred_url":"https://api.github.com/users/pascalberger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pascalberger/subscriptions","organizations_url":"https://api.github.com/users/pascalberger/orgs","repos_url":"https://api.github.com/users/pascalberger/repos","events_url":"https://api.github.com/users/pascalberger/events{/privacy}","received_events_url":"https://api.github.com/users/pascalberger/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-01T10:05:37Z","updated_at":"2015-07-01T10:05:37Z","closed_at":null,"body":"I've some inhouse NuGet Packages which include PowerShell scripts which call $package.GetFiles(). In Visual Studio 2015 the following error is thrown on executing this PowerShell:\r\n\r\n    Method invocation failed because [NuGet.PackageManagement.VisualStudio.ScriptPackage] does not contain a method named 'GetFiles'.\r\n\r\nIs there a way to retrieve all files in a package from a init.ps PowerShell script with the v3 API?"}}