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
- Be on mono
- Add
Paket.Core to paket.dependencies file
- Create fsx script, reference stuff, find and load dependency file
- 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.
Description
Calling
Paket.Dependencies.GetInstalledPackageModelwith wrong casing (for examplepaket.coreinstead ofPaket.Core) on mono results in emptyInstallationModel. On Windows it normally resolves correctInstallationModelRepro steps
Paket.Coretopaket.dependenciesfiledependenciesFile.GetInstalledPackageModel(None, "paket.core")Expected behavior
Option 1. Return
InstallationModelwith all dlls resolved (same behavior as on Windows)Option 2. Change
GetInstalledPackageModelto return option and returnNoneOption 3. Throw exception ;) ... just kidding
Actual behavior
Returns empty
InstallationModel(only with name [wrong casing])Known workarounds
Call it with well formatted name.