VMware {code} Community
asdt
Contributor
Contributor

Error while using build.bat to generate a test certificate and STSService stubs

I am trying to build a C# application using vSphere API that connect to vCenter server and gets a Host-VM relationship.  

To run shared by vmWare, I followed developer guide and set all environment variables. When I am running .\build.bat to generate a test certificate and STSService stubs, I get the below error, 

"Files was unexpected at this time"

I am using Visual Studio 12. I've also set VSINSTALLDIR ="C:\Program Files(x86)\Microsoft Visual Studio 11.0\SDK"

I noticed that bin folder under C:\Program Files(x86)\Microsoft Visual Studio 11.0\SDK is empty. Do I need to make any changes in this path ?

Any inputs to resolve this error would be greatly appreciated. 

Reply
0 Kudos
1 Reply
asdt
Contributor
Contributor

resolved. Use VS2012 Developer command prompt to run build.bat script. 
Reply
0 Kudos