Tasks List

To add revision information to your assemblies by generating AssemblyInfo files:

	For versioning
			input NAnt properties:
				- repo.dir, a full path to a root folder with .git subfolder of your project
				- base.version, Major and Minor version information; can be just one digit
			output NAnt properties:
				- version.number, full version number separated by dots
				- revision.hash, a commit/changeset number

		- GIT: "<git.fetch-version.number-and-revision.hash-properties/>"
		- TFS: "<tfs.fetch-version.number-and-revision.hash-properties/>"
				in addition this task requires the following NAnt properties to be set:
					- tfs.project.path, path to your root folder of a project in TFS, starting with "$/"
					- tfs.server.url, an absolute URL of TFS server
					- tfs.user.name and tfs.user.password, credentials to access TFS

	To generate AssemblyInfo
			input NAnt properties in addition to versioning properties:
				- assembly.info.dir, a folder to store generated AssemblyInfo
				- product.title, a name of your product
				- company.name, a name of your company

			As a result, a CommonAssemblyInfo.cs file will be generated in specified folder


To drive VMWare virtual machine that is hosted by vSphere server:
	
	- prepare-vm, constructs configuration for further VMWare NAnt tasks
		parameters:
			- url, vSphere Hypervisor URL
			- login and password, credentials to use for connecting to a server
			- vm-name, a name of a VM on a server
			- vm-file-name, a path to a vmx file on a server
			- datastore-name, a name of a Datastore on a server
			- vm-user and vm-password, credentials to use for loggin in into VM
			- snapshot, a snapshot to revert to in VM

	- start-vm, starts VM

	- stop-vm, stops VM

	- connect-iso-to-vm, uploads an ISO to a server and connects it as a DVD/CD drive into VM
		parameters:
			- local-path, a full path to an ISO image
			- remote-path, a full path to an ISO image on a server

	- take-snapshot-of-vm, takes a new snapshot including memory
		parameters:
			- name, a name of a snapshot
			- description, a description of a snapshot

	- take-screenshot-of-vm, takes a screenshot of running VM
		parameters:
			- image-path, a full path on a local machine to save taken screenshot

	- run-exe-in-vm, starts an executable inside VM
		parameters:
			- path, a full path to an exe inside VM
			- args, arguments for the executable
			- wait-for-exit, a flag that determines whether or not we should wait till the exe completes and exits

	- copy-files-to-vm, copies files into VM from a local machine
		parameters:
			- source-dir, a full path to a directory with files to copy from
			- destination-dir, a full path to a directory inside VM to copy files into

	- get-file-from-vm, downloads a file from VM
		parameters:
			- remote-file-path, a full path to a file in VM to download
			- local-file-path, a full path to a file on your local machine to download into


To run NUnit tests:

	-run-nunit, starts NUnit tests execution
		parameters:
			- project-file, a full path to the NUnit project file
			- asembly, a full path to an assembly to run tests from
			- categories, test categories to include
			- out, a full path to a file to output test results
			- xml, a full path to an XML file with detailed test results
