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

Paket failed: String cannot be of zero length (a file has no extension issue again) #2900

Closed
domdom opened this issue Nov 16, 2017 · 0 comments

Comments

@domdom
Copy link
Contributor

domdom commented Nov 16, 2017

Description

Seems to be the same issue as #2405. When running paket install, it fails to remove the nonexistent extension of a LICENCE file contained in a nuget package and fails to install it.

Repro steps

  1. Create an empty project

  2. Add the following to paket.dependencies

source https://nuget.org/api/v2
nuget Zstandard.Net
  1. Run paket install.

Expected behavior

Installs Zstandard.Net

Actual behavior

Fails to install with a paket error:

Paket failed with
-> ArgumentException: String cannot be of zero length.
  Parameter name: oldValue

I've tracked it down to line 59 of InstallModel.fs

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

1 participant