C# Class Bari.Plugins.VsCore.VisualStudio.ProjectSections.ReferencesSection

.csproj section describing the project's assembly references
Inheritance: MSBuildProjectSectionBase
Show file Open project: vigoo/bari

Public Methods

Method Description
ReferencesSection ( Suite suite, IProjectGuidManagement projectGuidManagement, string sourceSetName, IProjectPathManagement pathManagement, [ targetDir ) : System.Collections.Generic

Initializes the class

Write ( XmlWriter writer, Project project, IMSBuildProjectGeneratorContext context ) : void

Writes the section using an XML writer

Private Methods

Method Description
IsGACReference ( TargetRelativePath refPath ) : bool
IsSolutionReference ( TargetRelativePath refPath ) : bool
IsValidReference ( TargetRelativePath reference ) : bool

Method Details

ReferencesSection() public method

Initializes the class
public ReferencesSection ( Suite suite, IProjectGuidManagement projectGuidManagement, string sourceSetName, IProjectPathManagement pathManagement, [ targetDir ) : System.Collections.Generic
suite Suite Active suite
projectGuidManagement IProjectGuidManagement Project GUID management service
sourceSetName string Source set name
pathManagement IProjectPathManagement Project-projectfile mapping
targetDir [ Target directory where the compiled files will be placed
return System.Collections.Generic

Write() public method

Writes the section using an XML writer
public Write ( XmlWriter writer, Project project, IMSBuildProjectGeneratorContext context ) : void
writer System.Xml.XmlWriter XML writer to use
project Project The project to generate .csproj for
context IMSBuildProjectGeneratorContext Current .csproj generation context
return void