public void UpdateProject(MSBuildProject msproject)
        {
            NuGetPackageForcedImportsRemover importsRemover = ForcedImportsRemover;

            if (importsRemover != null)
            {
                importsRemover.UpdateProject(msproject);
            }

            EnsureNuGetPackageBuildImportsTargetUpdater currentUpdater = Updater;

            if (currentUpdater != null)
            {
                currentUpdater.UpdateProject(msproject);
            }

            NuGetPackageNewImportsHandler importsHandler = NewImportsHandler;

            if (importsHandler != null)
            {
                importsHandler.UpdateProject(msproject);
            }

            ConditionalPackageReferenceHandler packageReferenceHandler = ConditionalPackageReferenceHandler;

            if (packageReferenceHandler != null)
            {
                packageReferenceHandler.UpdateProject(msproject);
            }
        }
		public async Task ForceUninstall (string packageId, NuGetVersion packageVersion)
		{
			packageIdentity = new PackageIdentity (packageId, packageVersion);

			FilePath installPath = packagePathResolver.GetInstallPath (packageIdentity);
			RemoveReferences (installPath);

			using (var importRemover = new NuGetPackageForcedImportsRemover (installPath)) {
				await project.SaveAsync ();
			}
		}
        public async Task ForceUninstall(string packageId, NuGetVersion packageVersion)
        {
            packageIdentity = new PackageIdentity(packageId, packageVersion);

            FilePath installPath = packagePathResolver.GetInstallPath(packageIdentity);

            RemoveReferences(installPath);

            using (var importRemover = new NuGetPackageForcedImportsRemover(installPath)) {
                await project.SaveAsync();
            }
        }