메소드 | 설명 | |
---|---|---|
CheckForMissingPackages ( ) : void | ||
EnableCurrentSolutionForRestore ( bool fromActivation ) : void | ||
RestoreMissingPackages ( ) : System.Threading.Tasks.Task |
메소드 | 설명 | |
---|---|---|
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 | |
리턴 | void |
public RestoreMissingPackages ( ) : System.Threading.Tasks.Task | ||
리턴 | System.Threading.Tasks.Task |