Method | Description | |
---|---|---|
CheckForMissingPackages ( ) : void | ||
EnableCurrentSolutionForRestore ( bool fromActivation ) : void | ||
RestoreMissingPackages ( ) : System.Threading.Tasks.Task |
Method | Description | |
---|---|---|
AddNuGetTargets ( Project project, Microsoft.Build.Evaluation.Project buildProject ) : void | ||
AddSolutionDirProperty ( Project project, Microsoft.Build.Evaluation.Project buildProject ) : void | ||
CheckForMissingPackagesCore ( ) : bool | ||
ContainsSource ( IPackageSourceProvider provider, string source ) : bool | ||
DisableSourceControlMode ( ) : void | ||
EnablePackageRestore ( Project project ) : void | ||
EnablePackageRestore ( Project project, IVsPackageManager packageManager ) : void | ||
EnablePackageRestore ( bool fromActivation ) : void | ||
EnsureNuGetBuild ( bool fromActivation ) : void | ||
GetAllPackageReferences ( IVsPackageManager packageManager ) : IEnumerable |
Gets all package references in all projects of the current solution plus package references specified in the solution packages.config
|
|
GetPackage ( IPackageRepository repository, string packageId, bool fromActivation ) : IPackage |
Try to retrieve the package with the specified Id from machine cache first. If not found, download it from the specified repository and add to machine cache.
|
|
GetPackageReferences ( IProjectManager projectManager ) : IEnumerable |
Gets the package references of the specified project.
|
|
OnPackageReferenceAdded ( IVsPackageMetadata metadata ) : void | ||
OnProjectAdded ( object sender, NuGet.VisualStudio.ProjectEventArgs e ) : void | ||
OnSolutionOpenedOrClosed ( object sender, |
||
PackageRestoreManager ( DTE dte, ISolutionManager solutionManager, IFileSystemProvider fileSystemProvider, IPackageRepositoryFactory packageRepositoryFactory, IPackageSourceProvider packageSourceProvider, IVsPackageManagerFactory packageManagerFactory, IVsPackageInstallerEvents packageInstallerEvents, IPackageRepository localCacheRepository, IVsThreadedWaitDialogFactory waitDialogFactory, ISettings settings ) : System | ||
PackageRestoreManager ( ISolutionManager solutionManager, IFileSystemProvider fileSystemProvider, IPackageRepositoryFactory packageRepositoryFactory, IVsPackageManagerFactory packageManagerFactory, IVsPackageSourceProvider packageSourceProvider, IVsPackageInstallerEvents packageInstallerEvents, ISettings settings ) : System | ||
SetMsBuildProjectProperty ( Project project, Microsoft.Build.Evaluation.Project buildProject, string name, string value ) : void | ||
SetPackageRestoreConsent ( ) : void |
public EnableCurrentSolutionForRestore ( bool fromActivation ) : void | ||
fromActivation | bool | |
return | void |
public RestoreMissingPackages ( ) : System.Threading.Tasks.Task | ||
return | System.Threading.Tasks.Task |