Skip to content

$package.GetFiles with VS2015 #863

@pascalberger

Description

@pascalberger

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:

Method invocation failed because [NuGet.PackageManagement.VisualStudio.ScriptPackage] does not contain a method named 'GetFiles'.

Is there a way to retrieve all files in a package from a init.ps PowerShell script with the v3 API?

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions