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

Calling `Paket.Dependencies.GetInstalledPackageModel` with wrong casing on mono. #1928

Closed
Krzysztof-Cieslak opened this Issue Sep 24, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@Krzysztof-Cieslak
Member

Krzysztof-Cieslak commented Sep 24, 2016

Description

Calling Paket.Dependencies.GetInstalledPackageModel with wrong casing (for example paket.core instead of Paket.Core) on mono results in empty InstallationModel. On Windows it normally resolves correct InstallationModel

Repro steps

  1. Be on mono
  2. Add Paket.Core to paket.dependencies file
  3. Create fsx script, reference stuff, find and load dependency file
  4. Run dependenciesFile.GetInstalledPackageModel(None, "paket.core")

Expected behavior

Option 1. Return InstallationModel with all dlls resolved (same behavior as on Windows)
Option 2. Change GetInstalledPackageModel to return option and return None
Option 3. Throw exception ;) ... just kidding

Actual behavior

Returns empty InstallationModel (only with name [wrong casing])

Known workarounds

Call it with well formatted name.

forki added a commit that referenced this issue Sep 25, 2016

@forki forki closed this in 144f6e2 Sep 25, 2016

forki added a commit that referenced this issue Sep 26, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment