diff --git a/src/Paket.Core/PublicAPI.fs b/src/Paket.Core/PublicAPI.fs index 9643d01095..cd0980e65f 100644 --- a/src/Paket.Core/PublicAPI.fs +++ b/src/Paket.Core/PublicAPI.fs @@ -113,11 +113,11 @@ type Dependencies(dependenciesFileName: string) = this.Add(package, version, force, hard, false, interactive, installAfter) /// Adds the given package with the given version to the dependencies file. - member this.Add(package: string,version: string,force: bool,hard: bool,redirects: bool,interactive: bool,installAfter: bool): unit = + member this.Add(package: string,version: string,force: bool,hard: bool,withBindingRedirects: bool,interactive: bool,installAfter: bool): unit = Utils.RunInLockedAccessMode( this.RootPath, fun () -> AddProcess.Add(dependenciesFileName, PackageName(package.Trim()), version, - InstallerOptions.createLegacyOptions(force, hard, redirects), + InstallerOptions.createLegacyOptions(force, hard, withBindingRedirects), interactive, installAfter)) /// Adds the given package with the given version to the dependencies file. @@ -125,11 +125,11 @@ type Dependencies(dependenciesFileName: string) = this.AddToProject(package, version, force, hard, false, projectName, installAfter) /// Adds the given package with the given version to the dependencies file. - member this.AddToProject(package: string,version: string,force: bool,hard: bool,redirects: bool,projectName: string,installAfter: bool): unit = + member this.AddToProject(package: string,version: string,force: bool,hard: bool,withBindingRedirects: bool,projectName: string,installAfter: bool): unit = Utils.RunInLockedAccessMode( this.RootPath, fun () -> AddProcess.AddToProject(dependenciesFileName, PackageName package, version, - InstallerOptions.createLegacyOptions(force, hard, redirects), + InstallerOptions.createLegacyOptions(force, hard, withBindingRedirects), projectName, installAfter)) /// Adds credentials for a Nuget feed