VMware {code} Community
jeremyb
Contributor
Contributor

Problems building .NET samples...

Anyone struggle with building the .NET samples?

I have followed the instructions provided in ...sdk\doc\readme_dotnet.htm, but am getting multiple errors. See console output below.


C:\Program Files\Microsoft Visual Studio 8\VC>"C:\Program Files\VMware\VMware vC
enter Converter Standalone SDK\VMware-converter-sdk-4.3.0-294139\sdk\samples\Dot
Net\Build2005.cmd"
Visual Studio 2005 is installed
Setting Path
Checking and Creating stage
The system cannot find the file specified.
Access is denied.
Microsoft (R) Visual C# 2005 Compiler version 8.00.50727.4927
for Microsoft (R) Windows (R) 2005 Framework version 2.0.50727
Copyright (C) Microsoft Corporation 2001-2005. All rights reserved.

error CS2001: Source file 'stage\ConverterObjects.cs' could not be found
fatal error CS2008: No inputs specified
Microsoft (R) Xml Serialization support utility
[Microsoft (R) .NET Framework, Version 2.0.50727.42]
Copyright (C) Microsoft Corporation. All rights reserved.
Error: File or assembly name '.\convertersdkstub.dll', or one of its dependencie
s, was not found.

If you would like more help, please type "sgen /?".
Optimizing generated stubs...
Input File with Stubs not found: stage\ConverterObjects.cs
Microsoft (R) Visual C# 2005 Compiler version 8.00.50727.4927
for Microsoft (R) Windows (R) 2005 Framework version 2.0.50727
Copyright (C) Microsoft Corporation 2001-2005. All rights reserved.

error CS2001: Source file 'stage\ConverterObjects.cs' could not be found
fatal error CS2008: No inputs specified
Stub generation Done.
ECHO is off.
Building Samples in Debug mode
Done Building optimized Stubs and all Samples

C:\Program Files\Microsoft Visual Studio 8\VC>

0 Kudos
1 Reply
jeremyb
Contributor
Contributor

Figured it out. It was a file/folder permissions issue caused by my storing the SDK in C:\Program Files\VMware. I resolved the issue by copying the SDK to my desktop, running the build process and copying it back.

0 Kudos