Hi Smulan,
Make sure that in your project you have added the reference to the "VimService2005.dll" generated by the "build2005.cmd" in the DotNet folder. You can do so by right clicking on the project folder in the Visual studio and select "Add Reference" and in the dialog select this dll file. I would also suggest you to add the reference to the "VimService2005.XmlSerializers.dll" dll also. This is also generated along with the "VimService2005.dll".
Hope the above information helps.
~ Sidharth
I've downloaded the SDK for 5.0 and I don't have a build*.cmd at all.
It really shouldn't be this difficult to look at and run some examples. It's so frustrating.
I've forwarded this feedback internally and hopefully we can get the documentation clarified.
Thanks
Thank you for doing that - much appreciated. I think if someone has a thorough look at the documentation they will see a lot of work that needs to be done.
I'm happy to provide constructive criticism if it would help.
Rgds
Update on the documentation issue for the C# vSphere samples. Please refer to the updated docs part fo the 5.1 release around the same. Hopefully, the modified steps there will clarify the issues being faced. Note that you can use the 5.1 documentation to build the 5.0 C# samples as well.
Please do provide your feedback on the updated documentation specifically for the setting up part for the C# vSphere samples.
~ Sidharth
Just blogged about using vSphere SDK in Visual Studio 2012:
http://www.doublecloud.org/2012/10/vmware-vsphere-sdk-with-visual-studio-2012/
Steve, creator of de fact vSphere Java API http://twitter.com/sjin2008