Setting Up for Microsoft C# Development This chapter explains how to set up an environment to develop C# clients for the vSphere Web Services SDK. C# Development Requirements for the Web Services SDKThe vSphere Web Services SDK includes C# (.cs) source files and Microsoft Visual Studio project files (solutions, or .sln) for Microsoft Visual Studio. In addition, Web services client application development for C# requires: Setting Up for C# Development with the Web Services SDKThese instructions show how to install all the required software. If your development workstation already meets some or all of the requirements, you generally do not need to re-install the software you already have. Building the C# SSO DLL for the Web Services SDKIn the vSphere Web Services SDK, VMware supplies several sample Single Sign-On (SSO) clients for Visual Studio. The SDK includes a project (.csproj) file for each sample, and a solution (.sln) file for the whole set of samples. The project files reference the DLL through which a client communicates with the SSO service. Building the C# vSphere DLLs with the Web Services SDKIn the vSphere Web Services SDK, VMware supplies sample vSphere clients for Visual Studio. The SDK includes a project (.csproj) file for each sample, and a solution (.sln) file for the whole set of samples. The project files reference the DLLs through which a client communicates with the Web service. Building the C# Sample Programs in the Web Services SDKThe 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. Running the Microsoft .NET C# Version of SimpleClient in the Web Services SDKThe SimpleClient sample application connects to a vSphere host, lists the names and reference IDs of the managed objects in the inventory, and disconnects from the host. Troubleshooting the Setup of the Web Services SDKIf you cannot successfully run the SimpleClient, first check your environment settings and all other setup tasks.