# <mksget>

Retrieves an item or project from MKS Source Integrity.

### Parameters

Attribute | Type | Description | Required
--- | --- | --- | ---
localpath | directory | The path to the local working directory. | True
project | string | The project to get from MKS. | True
host | string | The name of the host MKS server to connect to | True
port | string | The port number on which the host server is accepting requests | True
failonerror | bool | Determines if task failure stops the build, or is just reported. The default is true. | False
if | bool | If true then the task will be executed; otherwise, skipped. The default is true. | False
password | string | The password to use to login to the MKS database. | False
unless | bool | Opposite of `if`. If false then the task will be executed; otherwise, skipped. The default is false. | False
username | string | The name of the user needed to access the MKS database. | False
verbose | bool | Determines whether the task should report detailed build log messages. The default is false. | False

### Examples

- Synchronise sandbox with MKS project.

                      <mksget
                        username="myusername"
                        password="mypassword"
                        host="servername"
                        port="123"
                        localpath="c:\sourcecode"
                        project="e:/MKS projects/myproject/testproject.pj"
                      />

### Requirements

Assembly: NAnt.Contrib.Tasks (0.85.2479.0)