FAKE - F# Make - A DSL for build tasks and more FAKE
6.0.0

Lookig for older versions of the documentation, pre FAKE v6? See 

v5.fake.build

Mage Module

Contains helper functions which allow FAKE to call the Manifest Generation and Editing Tool, in short MAGE. The intentional use is the creation of a clickonce application.

Certificates
The MAGE tool wants to sign the manifest using a certificate. It should be clear, that this file is not under source control. On the other hand - you want to be able to run the compile batch on each developer machine. How can we achieve that? In the parameter structure, we use a CertFile property and a TmpCertFile property. Whenever the CertFile was not found, the manifest is signed with a temporary certificate. And the latter one can be shared in the source control.

Types

Type Description

MageParams

Needed information to call MAGE

Processor

These are the supported processor types of the MAGE tool

TrustLevel

The level of trust to grant the application on client computers.

Functions and values

Function or value Description

Mage.createApp

Full Usage: Mage.createApp

Returns: MageParams -> unit

Encapsulates the MAGE call to create a new application's manifest

Returns: MageParams -> unit

Mage.deployApp

Full Usage: Mage.deployApp

Returns: MageParams -> unit

Encapsulates the MAGE call to deploy an application

Returns: MageParams -> unit

Mage.run mp

Full Usage: Mage.run mp

Parameters:

Executes a full run of MAGE commands: first, it creates a new manifest file. Then it signs the manifest, deploys the application and finally signs the deployment.

mp : MageParams

Mage parameters

Mage.signDeploy

Full Usage: Mage.signDeploy

Returns: MageParams -> unit

Encapsulates the MAGE call to sign the deployment of an application

Returns: MageParams -> unit

Mage.signManifest

Full Usage: Mage.signManifest

Returns: MageParams -> unit

Encapsulates the MAGE call to sign an application's manifest

Returns: MageParams -> unit

Mage.updateApp

Full Usage: Mage.updateApp

Returns: MageParams -> unit

Encapsulates the MAGE call to update an existing application's manifest

Returns: MageParams -> unit

Mage.updateDeploy

Full Usage: Mage.updateDeploy

Returns: MageParams -> unit

Encapsulates the MAGE call to update the deployment of an application

Returns: MageParams -> unit