ProjectFile Module
Types
| Type | Description |
|
|
Functions and values
| Function or value |
Description
|
Full Usage:
addImportForPaketTargets relativeTargetsPath project
Parameters:
string
project : ProjectFile
|
|
Full Usage:
appendTargetFrameworkToOutputPath project
Parameters:
ProjectFile
Returns: bool
|
|
Full Usage:
buildOutputTargetFolder project
Parameters:
ProjectFile
Returns: string option
|
|
|
|
|
|
Full Usage:
createNode name project
Parameters:
string
project : ProjectFile
Returns: XmlElement
|
|
Full Usage:
createNodeSet name text project
Parameters:
string
text : string
project : ProjectFile
Returns: XmlElement
|
|
Full Usage:
deleteCustomModelNodes model project
Parameters:
InstallModel
project : ProjectFile
|
|
Full Usage:
deleteIfEmpty name project
Parameters:
string
project : ProjectFile
Returns: bool
|
|
|
|
Full Usage:
determineBuildAction fileName project
Parameters:
string
project : ProjectFile
Returns: BuildAction
|
|
Full Usage:
determineBuildActionForRemoteItems fileName project
Parameters:
string
project : ProjectFile
Returns: BuildAction
|
|
Full Usage:
dotNetCorePackages projectFile
Parameters:
ProjectFile
Returns: NugetPackage list
|
|
Full Usage:
findPaketNodes name project
Parameters:
string
project : ProjectFile
Returns: XmlNode list
|
|
Full Usage:
generateAnalyzersXml model project
Parameters:
InstallModel
project : ProjectFile
Returns: XmlElement
|
|
Full Usage:
generateXml model usedFrameworkLibs aliases embedInteropTypes copyLocal specificVersion importTargets referenceCondition allTargetProfiles project
Parameters:
InstallModel
usedFrameworkLibs : HashSet<TargetProfile * string>
aliases : Map<string, string>
embedInteropTypes : bool option
copyLocal : bool option
specificVersion : bool option
importTargets : bool
referenceCondition : string option
allTargetProfiles : Set<TargetProfile>
project : ProjectFile
Returns: XmlContext
|
|
|
|
|
|
Full Usage:
getCustomModelNodes model project
Parameters:
InstallModel
project : ProjectFile
Returns: XmlNode list
|
|
Full Usage:
getCustomReferenceAndFrameworkNodes project
Parameters:
ProjectFile
Returns: XmlNode list
|
|
Full Usage:
getDeclaredTargetProfiles project
Parameters:
ProjectFile
Returns: TargetProfile list
|
The target profiles that the project file declares itself. Paket doesn't read the files that it imports, so this is empty when the framework comes from one of them, as from Directory.Build.props, or when the file declares no framework that Paket recognizes.
|
|
|
Full Usage:
getInterProjectDependencies project
Parameters:
ProjectFile
Returns: ProjectReference list
|
|
Full Usage:
getOutputDirectory buildConfiguration buildPlatform targetProfile project
Parameters:
string
buildPlatform : string
targetProfile : TargetProfile option
project : ProjectFile
Returns: string
|
|
Full Usage:
getPackageIdAttribute pf node
Parameters:
ProjectFile
node : XmlNode
Returns: string
Modifiers: inline |
|
|
|
|
|
|
|
Full Usage:
getProperty propertyName projectFile
Parameters:
string
projectFile : ProjectFile
Returns: string option
|
|
Full Usage:
getPropertyWithDefaults propertyName defaultProperties projectFile
Parameters:
string
defaultProperties : Map<string, string>
projectFile : ProjectFile
Returns: string option
|
|
|
|
Full Usage:
getTargetFrameworkIdentifier project
Parameters:
ProjectFile
Returns: string option
|
|
Full Usage:
getTargetFrameworkProfile project
Parameters:
ProjectFile
Returns: string option
|
|
Full Usage:
getTargetFrameworkVersion project
Parameters:
ProjectFile
Returns: string option
|
|
|
|
Full Usage:
getTargetFrameworksParsed project
Parameters:
ProjectFile
Returns: string list
|
|
|
The target profiles of the project: the ones that the project file declares, or net40 when it declares none (see getDeclaredTargetProfiles).
|
|
|
|
|
|
|
Full Usage:
loadFromStream fullName stream
Parameters:
string
stream : Stream
Returns: ProjectFile
|
|
Full Usage:
loadFromString fullName text
Parameters:
string
text : string
Returns: ProjectFile
|
|
|
|
|
|
|
|
Full Usage:
packageReferencesNoPrivateAssets project
Parameters:
ProjectFile
Returns: XmlNode list
|
|
|
|
Full Usage:
removeImportAndTargetEntries packages project
Parameters:
(string * SemVerInfo) list
project : ProjectFile
|
|
|
|
|
|
|
|
Full Usage:
removeNugetAnalysers packages project
Parameters:
(string * SemVerInfo) list
project : ProjectFile
|
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
supportedEndings
Returns: string list
|
|
|
|
Full Usage:
updateFileItems fileItems project
Parameters:
FileItem list
project : ProjectFile
|
|
Full Usage:
updateReferences completeModel directPackages usedPackages project
Parameters:
Map<(GroupName * PackageName), ('a * InstallModel)>
directPackages : Map<(GroupName * PackageName), ('b * InstallSettings)>
usedPackages : Map<(GroupName * PackageName), ('c * InstallSettings)>
project : ProjectFile
Type parameters: 'a, 'b, 'c |
|
|
|
Paket