C# Class NuGet.VisualStudio.VsWebsiteHandler

Inheritance: IVsWebsiteHandler
Afficher le fichier Open project: themotleyfool/NuGet

Méthodes publiques

Méthode Description
AddRefreshFilesForReferences ( Project project, IFileSystem packagesFileSystem, IEnumerable packageNames ) : void

Adds refresh files to the specified project for all assemblies references belonging to the packages specified by packageNames.

CopyNativeBinaries ( Project project, IFileSystem packagesFileSystem, IEnumerable packageNames ) : void

Copies the native binaries to the project's bin folder.

Private Methods

Méthode Description
CopyNativeBinaries ( IProjectSystem projectSystem, IFileSystem packagesFileSystem, PackageName packageName ) : void
GetAssemblyReferences ( IFileSystem fileSystem, string packageId, SemanticVersion version, string &packageDirectory ) : IEnumerable

Gets all assembly references for a package

GetTargetFramework ( Project project ) : FrameworkName
SearchFilesWithinOneSubFolders ( IFileSystem fileSystem, string folder, string extension ) : IEnumerable
VsWebsiteHandler ( IFileSystemProvider fileSystemProvider ) : System
VsWebsiteHandler ( IFileSystemProvider fileSystemProvider, IProjectSystemFactory projectSystemFactory ) : System

This constructor is used by unit tests to inject custom IVsProjectSystem implementation

Method Details

AddRefreshFilesForReferences() public méthode

Adds refresh files to the specified project for all assemblies references belonging to the packages specified by packageNames.
public AddRefreshFilesForReferences ( Project project, IFileSystem packagesFileSystem, IEnumerable packageNames ) : void
project Project The project.
packagesFileSystem IFileSystem The file system pointing to 'packages' folder under the solution.
packageNames IEnumerable The package names.
Résultat void

CopyNativeBinaries() public méthode

Copies the native binaries to the project's bin folder.
public CopyNativeBinaries ( Project project, IFileSystem packagesFileSystem, IEnumerable packageNames ) : void
project Project The project.
packagesFileSystem IFileSystem The packages file system.
packageNames IEnumerable The package names.
Résultat void