Build the C# vSphere DLLs for the Web Services SDK

Before you can run the SDK samples, you must build the DLLs that provide common services to the samples.

Prerequisites

Prerequisites for Building the C# vSphere DLLs

Procedure

  1. Open a Visual Studio Native Tools command shell as Administrator.

    Use Visual Studio 2012 or 2013. Visual Studio 2015 is not supported for this step.

  2. Navigate to the .NET subdirectory for vSphere client samples.
    cd path_to_sdk\vsphere-ws\dotnet\bin
  3. Run the build script to generate the VimService*.dll files from the WSDL.
    build.bat

    The script builds the client-side API bindings and compiles them into the Vim25Service DLL.