C# Class FlatRedBall.Glue.VSHelpers.Projects.VisualStudioProject

Inheritance: ProjectBase
Mostra file Open project: vchelaru/FlatRedBall

Public Methods

Method Description
AddContentBuildItem ( string absoluteFile ) : Microsoft.Build.Evaluation.ProjectItem
AddContentBuildItem ( string absoluteFile, SyncedProjectRelativeType relativityType = SyncedProjectRelativeType.Linked, bool forceToContentPipeline = false ) : Microsoft.Build.Evaluation.ProjectItem
IsCodeItem ( Microsoft.Build.Evaluation.ProjectItem buildItem ) : bool
IsFilePartOfProject ( string fileToUpdate, BuildItemMembershipType membershipType ) : bool
IsFilePartOfProject ( string fileToUpdate, BuildItemMembershipType membershipType, bool relativeItem ) : bool
Load ( string fileName ) : void
MakeBuildItemNested ( Microsoft.Build.Evaluation.ProjectItem item, string parent ) : void
ProcessInclude ( string path ) : string
SyncTo ( ProjectBase projectBase, bool performTranslation ) : void
ToString ( ) : string
Unload ( ) : void
UpdateContentFile ( string sourceFileName ) : void

Protected Methods

Method Description
AddCodeBuildItem ( string fileName, bool isSyncedProject, string nameRelativeToThisProject ) : Microsoft.Build.Evaluation.ProjectItem
ForceSave ( string fileName ) : void
RemoveItem ( string itemName, Microsoft.Build.Evaluation.ProjectItem item ) : void
VisualStudioProject ( Microsoft.Build.Evaluation.Project project ) : System

Private Methods

Method Description
AddContentFileItemsFrom ( ProjectBase projectBase ) : void
FindRootNamespace ( ) : void
ResolveDuplicateProjectEntry ( bool wasChanged, Microsoft.Build.Evaluation.ProjectItem buildItem ) : bool
SkipContentBuildItem ( Microsoft.Build.Evaluation.ProjectItem bi, ProjectBase containingProject ) : bool

Method Details

AddCodeBuildItem() protected method

protected AddCodeBuildItem ( string fileName, bool isSyncedProject, string nameRelativeToThisProject ) : Microsoft.Build.Evaluation.ProjectItem
fileName string
isSyncedProject bool
nameRelativeToThisProject string
return Microsoft.Build.Evaluation.ProjectItem

AddContentBuildItem() public method

public AddContentBuildItem ( string absoluteFile ) : Microsoft.Build.Evaluation.ProjectItem
absoluteFile string
return Microsoft.Build.Evaluation.ProjectItem

AddContentBuildItem() public method

public AddContentBuildItem ( string absoluteFile, SyncedProjectRelativeType relativityType = SyncedProjectRelativeType.Linked, bool forceToContentPipeline = false ) : Microsoft.Build.Evaluation.ProjectItem
absoluteFile string
relativityType SyncedProjectRelativeType
forceToContentPipeline bool
return Microsoft.Build.Evaluation.ProjectItem

ForceSave() protected method

protected ForceSave ( string fileName ) : void
fileName string
return void

IsCodeItem() public method

public IsCodeItem ( Microsoft.Build.Evaluation.ProjectItem buildItem ) : bool
buildItem Microsoft.Build.Evaluation.ProjectItem
return bool

IsFilePartOfProject() public method

public IsFilePartOfProject ( string fileToUpdate, BuildItemMembershipType membershipType ) : bool
fileToUpdate string
membershipType BuildItemMembershipType
return bool

IsFilePartOfProject() public method

public IsFilePartOfProject ( string fileToUpdate, BuildItemMembershipType membershipType, bool relativeItem ) : bool
fileToUpdate string
membershipType BuildItemMembershipType
relativeItem bool
return bool

Load() public method

public Load ( string fileName ) : void
fileName string
return void

MakeBuildItemNested() public method

public MakeBuildItemNested ( Microsoft.Build.Evaluation.ProjectItem item, string parent ) : void
item Microsoft.Build.Evaluation.ProjectItem
parent string
return void

ProcessInclude() public method

public ProcessInclude ( string path ) : string
path string
return string

RemoveItem() protected method

protected RemoveItem ( string itemName, Microsoft.Build.Evaluation.ProjectItem item ) : void
itemName string
item Microsoft.Build.Evaluation.ProjectItem
return void

SyncTo() public method

public SyncTo ( ProjectBase projectBase, bool performTranslation ) : void
projectBase ProjectBase
performTranslation bool
return void

ToString() public method

public ToString ( ) : string
return string

Unload() public method

public Unload ( ) : void
return void

UpdateContentFile() public method

public UpdateContentFile ( string sourceFileName ) : void
sourceFileName string
return void

VisualStudioProject() protected method

protected VisualStudioProject ( Microsoft.Build.Evaluation.Project project ) : System
project Microsoft.Build.Evaluation.Project
return System