VMware {code} Community
Smulan
Contributor
Contributor
Jump to solution

SDK Installation for C#

Hi!

I have downloaded the SDK. I plan to use C# (visual studio 2005) to get information from ESX Server 3.5. As far as I can understand I have to check/set the environment variables: VSINSTALLDIR= C:\Program Files\Microsoft Visual Studio 8 AND WSDLFILE= D:\Library\VMware SDK\Management SDK\wsdl\vim25\.

I open a Command prompt in the .net framework SDK in the start menu. Build2005. cmd always displays the error message

Error: Directory for WSDL files vim.wsdl and vimService.wsdl not specified

Please specify WSDL files to generate stubs for

The system cannot find the file specified.

Anyone have any idea what I am missing.

Tags (3)
Reply
0 Kudos
1 Solution

Accepted Solutions
ssurana
VMware Employee
VMware Employee
Jump to solution

Hi,

All the steps that you have followed seems in order. From the description you have mentioned it seems that the issue is with the directory where you have the wsdl file.

The path "D:\Library\VMware SDK\Management SDK\wsdl\vim25\" contains "VMware SDK" and "Management SDK" which include the spaces. Either you should rename these directories to remove the spaces in the directory name or another way is to stick to the MS-DOS style name of the folder, using the 8.3 naming convention like "Progra~1" for "Program Files".

Hope the above information helps.

~ Sidharth

View solution in original post

Reply
0 Kudos
2 Replies
ssurana
VMware Employee
VMware Employee
Jump to solution

Hi,

All the steps that you have followed seems in order. From the description you have mentioned it seems that the issue is with the directory where you have the wsdl file.

The path "D:\Library\VMware SDK\Management SDK\wsdl\vim25\" contains "VMware SDK" and "Management SDK" which include the spaces. Either you should rename these directories to remove the spaces in the directory name or another way is to stick to the MS-DOS style name of the folder, using the 8.3 naming convention like "Progra~1" for "Program Files".

Hope the above information helps.

~ Sidharth

Reply
0 Kudos
Smulan
Contributor
Contributor
Jump to solution

Hi!

I took rid of the spaces, many thanks, it works. (but frankly, no

support for spaces is not OK)

/Smulan

Reply
0 Kudos