protected override ConflictResult GetConflict(IPackage package)
{
// For project installs we first try to base behavior (using the live graph)
// then we look for conflicts for packages installed into the current project.
ConflictResult result = base.GetConflict(package);
if (result == null)
{
IPackage existingPackage = Repository.FindPackage(package.Id);
if (existingPackage != null)
{
result = new ConflictResult(existingPackage, Repository, _dependentsResolver);
}
}
return result;
}