6.0

Table Of Contents
VMware, Inc. 17
3
This chapter explains how to set up an environment to develop C# clients for the vSphere Web Services SDK.
This chapter includes these topics:
“C# Development Requirements” on page 17
“Setting Up for C# Development” on page 17
“Building the C# SSO DLL” on page 19
“Building the C# vSphere DLLs” on page 20
“Building the C# Sample Programs” on page 21
“Running the Microsoft .NET C# Version of SimpleClient” on page 23
“Troubleshooting the Setup” on page 24
C# Development Requirements
The 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:
Development environment for C#, such as Microsoft Visual C# or Microsoft Visual Studio.
Microsoft .NET Framework, which is included with Microsoft Visual Studio.
Microsoft Web Services Enhancements, a runtime and tools package.
Software Downloads for C# Development
You can obtain the VMware vSphere Web Services SDK from https://developercenter.vmware.com. It is
included in the vSphere Management SDK package.
Setting Up for C# Development
These 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.
Set Up a Development Workstation To Use C#
For general Web development work, you need a C# development environment and the .NET Framework. To
work with the VMware vSphere Web Services API, you need the vSphere Web Services SDK and additional
tools available from Microsoft.
Setting Up for Microsoft C#
Development
3