diff --git a/src/Core/IPackageManager.cs b/src/Core/IPackageManager.cs index 9abb14025..639635170 100644 --- a/src/Core/IPackageManager.cs +++ b/src/Core/IPackageManager.cs @@ -34,7 +34,7 @@ public interface IPackageManager event EventHandler PackageInstalling; event EventHandler PackageUninstalled; event EventHandler PackageUninstalling; - + void InstallPackage(IPackage package,FrameworkName targetFramework,bool ignoreDependencies,bool allowPrereleaseVersions,bool ignoreWalkInfo = false) void InstallPackage(IPackage package, bool ignoreDependencies, bool allowPrereleaseVersions); void InstallPackage(IPackage package, bool ignoreDependencies, bool allowPrereleaseVersions, bool ignoreWalkInfo); void InstallPackage(string packageId, SemanticVersion version, bool ignoreDependencies, bool allowPrereleaseVersions); diff --git a/src/Core/PackageManager.cs b/src/Core/PackageManager.cs index 6252d99c7..1a335f60e 100644 --- a/src/Core/PackageManager.cs +++ b/src/Core/PackageManager.cs @@ -133,7 +133,7 @@ public void InstallPackage(IPackage package, bool ignoreDependencies, bool allow InstallPackage(package, targetFramework: null, ignoreDependencies: ignoreDependencies, allowPrereleaseVersions: allowPrereleaseVersions, ignoreWalkInfo: ignoreWalkInfo); } - protected void InstallPackage( + public void InstallPackage( IPackage package, FrameworkName targetFramework, bool ignoreDependencies, @@ -485,4 +485,4 @@ public void UpdatePackage(IPackage newPackage, bool updateDependencies, bool all public bool CheckDowngrade { get; set; } } -} \ No newline at end of file +}