public RestoreAndUninstallNuGetPackageAction (
			IMonoDevelopSolutionManager solutionManager,
			IDotNetProject dotNetProject)
		{
			this.dotNetProject = dotNetProject;

			nugetProject = solutionManager.GetNuGetProject (dotNetProject) as MSBuildNuGetProject;
			packagePathResolver = new PackagePathResolver (nugetProject.GetPackagesFolderPath (solutionManager));

			restoreAction = new RestoreNuGetPackagesInProjectAction (
				dotNetProject.DotNetProject,
				nugetProject,
				solutionManager);

			uninstallAction = new UninstallNuGetPackageAction (solutionManager, dotNetProject);
		}
Exemple #2
0
        public RestoreAndUninstallNuGetPackageAction(
            IMonoDevelopSolutionManager solutionManager,
            IDotNetProject dotNetProject)
        {
            this.dotNetProject = dotNetProject;

            nugetProject        = solutionManager.GetNuGetProject(dotNetProject) as MSBuildNuGetProject;
            packagePathResolver = new PackagePathResolver(nugetProject.GetPackagesFolderPath(solutionManager));

            restoreAction = new RestoreNuGetPackagesInProjectAction(
                dotNetProject.DotNetProject,
                nugetProject,
                solutionManager);

            uninstallAction = new UninstallNuGetPackageAction(solutionManager, dotNetProject);
        }