Skip to content

Building the Software

This topic describes how to perform a first-time full build of the Integration Platform code on Windows.

Open the Visual Studio Solution

  1. Open Visual Studio.
  2. Open the solution IntegrationPlatform.sln.

Add a Local Package Source

The Integration Platform currently uses a couple of unpublished NuGet packages that are provided in the development environment. To access these you must define a custom local package source in Visual Studio:

  1. From the menu, select Tools > NuGet Package Manager > Package Manager Settings.
  2. In the left pane, select Package Sources.
  3. In the upper-right corner of the dialog, click the + button to add a new package source.
  4. Near the bottom of the dialog, enter "Integration Platform" in the Name field.
  5. Use the ... button next to the Source field to select your IntegrationPlatform\LocalNugetPackageSource directory.
  6. Click OK to close the dialog.

Build the Solution

  1. From the menu, select Build > Build Solution.
  2. Watch the progress in the Output window and check that the solution builds correctly.
  3. If the solution does not build, try closing and reopening Visual Studio or doing any other common troubleshooting tricks.

Build the RUST Applications

Several of the main Integration Platform components are written in Rust and are not built by the Visual Studio solution. To build these,

  1. Open a Windows command prompt and build the Windows code:

    Build Windows Rust Applications
    cd IntegrationPlatform\rust
    build-windows
    

    It is normal to see a few warnings (displayed in yellow) as the build proceeds.

  2. To confirm a successful build, look for this at the end:

    Output ends with
    **Finished release profile [optimized] target(s) in 3m 56s**
    
  3. Build the Rust code for Linux, using the SIPDEV WSL VM:

    Build Linux Rust Applications
    build-linux
    

You will see similar output to when you built for Windows.