This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.Plist.
Summary
Deserializes a plist from file
Syntax
public static dynamic DeserializePlist(this ICakeContext context, FilePath path)
Examples
var plist = File("./src/Demo/Info.plist");
dynamic data = DeserializePlist(plist);
data["CFBundleShortVersionString"] = version.AssemblySemVer;
data["CFBundleVersion"] = version.FullSemVer;
SerializePlist(plist, data);
Deserialize the plist and simply access properties via indexer. But, it is important to declare data as dynamic.
Attributes
Type |
Description |
CakeMethodAliasAttribute |
|
Parameters
Name |
Type |
Description |
context |
ICakeContext |
|
path |
FilePath |
xml plist file |
Return Value
Type |
Description |
dynamic |
deserialized plist as dynamic |