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
Serializes a plist into spezified file.
Syntax
public static void SerializePlist(this ICakeContext context, FilePath path, object value)
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 |
target file |
value |
object |
plist data |
Return Value