VMware {code} Community
tharmes
Contributor
Contributor

vSphere SDK with Visual Studio 2010 - "the type or namespace name 'AppUtil' could not be found"

I know it's just a RC, but I have to use Visual Studio 2010. Has anyone managed to get the SDK-sample project running with VS 2010 RC1? It seems it has at least the same problems mentioned here: http://communities.vmware.com/thread/202424?tstart=30

I think I managed to create the stubs but if I open the converted project Samples2005.sln any references to AppUtil and VimApi are underlined in red saying "the type or namespace name 'AppUtil' could not be found"

Does this mean the stub generation failed or is there something else broken? The log of the project conversion did not list any error.

I attached a screenshot.

Thanks for a hint.

Reply
0 Kudos
2 Replies
tharmes
Contributor
Contributor

I have managed to open the project with Visual Studio 2010. For that I used a ready-to-go Visual Studio 2008 virtual machine from Microsoft (http://msdn.microsoft.com/en-us/visualc/cc268311.aspx) to build the project with Visual Studio 2008 and afterwards I converted it to VS 2010. The nice thing about this Microsoft VM: all the necessary tools and SDKs are already installed.

It would be nice, if the VMware team could provide an updated VMware SDK to reduce the complexity of using it with the latest Visual Studio. Anyway, it works now Smiley Happy

Reply
0 Kudos
Bailout00
Contributor
Contributor

Yea its quite rediculous that they require vs 2005, now that its 5 years old, and almost no one uses it. I can't seem to get it working with either vs 2008 or 2010, I've been at it for hours...

Reply
0 Kudos