Getting Started with CDAF on Windows. This is not a comprehensive tutorial on implementing CDAF, this is simple quickstart guide, serving primarily as a reminder when creating a new solution.
By using the included Vagrant file, a quickstart environment can be created from the CDAF package.
Requires Windows 7 SP1 / Windows Server 2008 R2 or above. For Windows 7 SP1 or Windows Server 2008 R2, additional prerequisite of Windows Management Framework v3 or above, and .NET 4 or above. To support loopback testing on localhost, enable Remote PowerShell (WinRM)
Create a workspace, download and extract CDAF to the root of the workspace. For Visual Studio, the root will be the solution root. For Eclispe, this is the Eclispe workspace root.
To validate the download framework, open an elevated powershell session and navigate to the workspace.
Initialise the solution run the emulator
Create a build task in the a project directory (name is Project in this example)
Once the Project Build is validated, gather the resulting artefacts for packaging. Create a the artefact definition file in your solution.
Copy and add the target definitions (Windows, Workgroup and Vagrant) to the solution and define a task to perform on the target.
This can only be used for on-domain hosts. One-off provisioning for "remote" connection to localhost.
Similar to local artefacts, create a remote artefacts definition file.
Copy and add the target definitions (Windows and Vagrant only) to the solution and define a task to perform on the target.
Simple imcrimental script runner (requires .NET 4 or above).