Note: This API documentation is for FAKE version 4. The migration API documentation can be found here. The API documentation for the new fake 5 modules can be found here

XpkgHelper

Contains tasks to create packages in Xamarin's xpkg format

Nested types and modules

TypeDescription
xpkgParams

Parameter type for xpkg tasks

Functions and values

Function or valueDescription
XpkgDefaults()
Signature: unit -> xpkgParams

Creates xpkg default parameters

xpkgPack(setParams)
Signature: setParams:(xpkgParams -> xpkgParams) -> unit

Creates a new xpkg package based on the package file name

Sample

 1: 
 2: 
 3: 
 4: 
 5: 
 6: 
 7: 
 8: 
 9: 
10: 
11: 
12: 
13: 
14: 
15: 
16: 
17: 
18: 
19: 
20: 
21: 
22: 
Target "PackageXamarinDistribution" (fun _ -> 
     xpkgPack (fun p ->
         {p with
             ToolPath = xpkgExecutable;
             Package = "Portable.Licensing";
             Version = assemblyFileVersion;
             OutputPath = publishDir
             Project = "Portable.Licensing"
             Summary = "Portable.Licensing is a cross platform licensing tool"
             Publisher = "Nauck IT KG"
             Website = "http://dev.nauck-it.de"
             Details = "./Xamarin/Details.md"
             License = "License.md"
             GettingStarted = "./Xamarin/GettingStarted.md"
             Icons = ["./Xamarin/Portable.Licensing_512x512.png"
                      "./Xamarin/Portable.Licensing_128x128.png"]
             Libraries = ["mobile", "./Distribution/lib/Portable.Licensing.dll"]
             Samples = ["Android Sample.", "./Samples/Android/Android.Sample.sln"
                        "iOS Sample.", "./Samples/iOS/iOS.Sample.sln"]
         }
     )
 )
xpkgValidate(setParams)
Signature: setParams:(xpkgParams -> xpkgParams) -> unit

Validates a xpkg package based on the package file name