Building the C# Sample Programs in the Web Services SDK

The vSphere Web Services SDK contains sample clients that demonstrate how to perform functions to manage your datacenter. The samples are organized into individual Visual Studio projects, which are collected in a single solution file.

To build the C# sample programs

Procedure

  1. Launch Visual Studio and load the solution file, Samples2012.sln.

    The solution file is found in the path_to_sdk\vsphere-ws\dotnet\cs\samples directory.

  2. From the Visual Studio menu, select Build > Build Solution.
    All the sample programs build. The Output pane at the bottom of the Visual Studio window shows build errors, if any.
  3. Correct any errors in the build, and repeat the build.