Browse Source

Fix NuGet package files not being removed from packages directory.

SharpDevelopPackageManager was overriding the uninstall operation
so nothing was happening when NuGet was trying to remove the package
files.
nuget-3.0-ctp
Matt Ward 11 years ago
parent
commit
9439aef104
  1. 7
      src/AddIns/Misc/PackageManagement/Project/Src/SharpDevelopPackageManager.cs

7
src/AddIns/Misc/PackageManagement/Project/Src/SharpDevelopPackageManager.cs

@ -230,10 +230,9 @@ namespace ICSharpCode.PackageManagement @@ -230,10 +230,9 @@ namespace ICSharpCode.PackageManagement
protected override void ExecuteUninstall(IPackage package)
{
// Not working...
// if (IsPackageReferencedByOtherProjects(package)) {
// base.ExecuteUninstall(package);
// }
if (!IsPackageReferencedByOtherProjects(package)) {
base.ExecuteUninstall(package);
}
}
}
}

Loading…
Cancel
Save