# Readme for C# (DotNet) Samples
This document contains summary information about building and running the .NET samples provided with the VMware vCenter Converter Standalone SDK. Building the Samples Using Visual Studio 2019 Running the Samples Samples Listing |
Note: Information in this document may not be current. For up-to-date information, check these VMware Web sites:
Beta or Pre-release Products | VMware Beta Community
Released SDK Products | VMware APIs and SDKs
### Building the Sample Using Visual Studio 2019 Community First you need to install Visual Studio 2019 Community Edition On installation wizard make sure the ".NET Desktop development" is selected To build the samples using the Visual Studio 2019 Community Start the Visual Studio Dev Cmd From disk location: `C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\Tools\LaunchDevCmd.bat` By selecting `Start Menu –> All Programs –> Visual Studio 2019 –> Visual Studio Tools –> Developer Command Prompt for VS 2019` In the console windows navigate via `cd` to the `SDK\samples\DotNet` sub-directory Enter BuildSamplesVS.cmd to build the sample ## Running the Samples You can run samples from the \bin or \debug directory of a project or using the Visual Studio .NET console. In the console, you can invoke help about an application by running the application without specifying its parameters. To run a sample using Visual Studio .NET Open the `ConverterSamples.sln` file in Visual Studio .NET. From the Project menu, select Properties. The Property Pages dialog opens. In the Property Pages dialog, select Configuration Properties. In the left-hand pane, select Debugging. In the right-hand pane, select Command Line Arguments. Click OK to save your changes. Run the sample in the command prompt. ## Sample Applications
Sample | Description, command-line syntax, and example...
SubmitWinP2VJob | Performs one or more Converter operations. The sample takes properties files as input. A sample properties file is provided along with the sample (`submitwinp2vjob.properties`). The properties file contains information about the operations to perform, the source, the destination, Converter Standalone server details, and the conversion job details. Command line syntax: ConverterSamples <Converter server address> <Converter server user name> <Converter server password> <properties file> ... Examples: ConverterSamples 10.0.0.1 administrator password submitwinp2vjob.properties
## VMware Resources Developer Center Knowledge Base User Groups VMware Communities VMware Developer Community Copyright © 1998-2024 VMware, Inc. All rights reserved. This product is protected by copyright and intellectual property laws in the United States and other countries as well as by international treaties. VMware products are covered by one or more patents listed at https://www.vmware.com/go/patents.