ProjectFile
A small abstraction over MSBuild project files.
Constructors
Constructor | Description |
new(projectFileName, documentContent)
Signature: (projectFileName:string * documentContent:string) -> ProjectFile
|
|
Instance members
Instance member | Description |
AddContentFile(fileName)
Signature: fileName:string -> ProjectFile
|
Add a file to the Content nodes
|
AddFile(fileName)
Signature: fileName:string -> ProjectFile
|
Add a file to the Compile nodes
|
ContentFiles
Signature: string list
|
All files which are in "Content" sections
|
Files
Signature: string list
|
All files which are in "Compile" sections
|
FindDuplicateContentFiles()
Signature: unit -> string list
|
Finds duplicate files which are in "Content" sections
|
FindDuplicateFiles()
Signature: unit -> string list
|
Finds duplicate files which are in "Compile" sections
|
ProjectFileName
Signature: string
|
The project file name
|
RemoveContentFile(fileName)
Signature: fileName:string -> ProjectFile
|
Removes a file from the Content nodes
|
RemoveDuplicates()
Signature: unit -> ProjectFile
|
|
RemoveDuplicatesContent()
Signature: unit -> ProjectFile
|
|
RemoveFile(fileName)
Signature: fileName:string -> ProjectFile
|
Removes a file from the Compile nodes
|
Save(fileName)
Signature: (fileName:string option) -> unit
|
Saves the project file
|
Static members
Static member | Description |
FromFile(projectFileName)
Signature: projectFileName:string -> ProjectFile
|
Read a Project from a FileName
|