ManifestUtils GeneratePackagingManifest Method NFX Class Library

[This is preliminary documentation and is subject to change.]

Generates packaging manifest for the specified directory. Optionally may specify root node name

Namespace: NFX.IO.FileSystem.Packaging
Assembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
Syntax

public static ConfigSectionNode GeneratePackagingManifest(
	this FileSystemDirectory directory,
	string rootNodeName = null,
	string packageName = null,
	string packageLocalPath = null
)

Parameters

directory
Type: NFX.IO.FileSystem FileSystemDirectory
Source directory to generate manifest for
rootNodeName (Optional)
Type: OnlineSystem String
Name of root manifest node, if omitted then 'package' is defaulted
packageName (Optional)
Type: OnlineSystem String
Optional 'name' attribute value under root node
packageLocalPath (Optional)
Type: OnlineSystem String
Optional 'local-path' attribute value under root node

Return Value

Type: ConfigSectionNode

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type FileSystemDirectory. When you use instance method syntax to call this method, omit the first parameter. For more information, see OnlineExtension Methods (Visual Basic) or OnlineExtension Methods (C# Programming Guide).
See Also