# Dependencies

This folder contains scripts and configuration files to build
dependencies requires by IAP Desktop. The dependencies
are built into NuGet packages and published to a local NuGet feed.

## Building

Building the dependencies requires:

* Visual Studio 2019 with C# and C++ support or the equivalent components
  from the Windows SDK
* Internet access to download dependencies

The folder contains a `Dockerfile` for building a Windows container
that meets these prerequisites.

To build the dependencies, do the following:

1. Open a command prompt (`cmd.exe`)
1. Build dependency packages:

    ```
    cd %WORKSPACE%\dependencies
    build
    ```

    You should now have a local Nuget package repository at
    %WORKSPACE%\dependencies\NuGetPackages containing
    the dependency packages. 
    
    The repository is automatically registered with NuGet.
