Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Find-Package returns incorrect packagefilename #13

Closed
jeopal opened this issue Jan 13, 2017 · 1 comment
Closed

Find-Package returns incorrect packagefilename #13

jeopal opened this issue Jan 13, 2017 · 1 comment

Comments

@jeopal
Copy link

jeopal commented Jan 13, 2017

Find-Package returns the value of PackageFilename set equal to the ID concatenated with the Version of the nuget as specified in the nuspec. If the actual filename of the nupkg is different than the ID concatenated with Version, the returned PackageFilename is incorrect and cannot be used for operations such as Remove-Item.

@jianyunt
Copy link
Contributor

jianyunt commented Jan 13, 2017

@jeopal Package name(id) and version is the way to uniquely identity a NuGet package.
The NuGetProvider extracts the package ID and Version from nuspec and install it on the system.

NuGetpackage format: packageid.version.nupkg

If a package does not follow this NuGet protocol, our NuGetProvider cannot process it properly. This is by design.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants