Readme for Building the eBay SDK for .NET
To build the SDK, please use the sections below, in the order they are presented.
References to "SDKInstallDir" and to "SDK Installation Directory"
refer to the top-level SDK directory (for example, C:\Program Files\eBay\eBay .NET SDK v615 Full Release).
Building the SDK initially requires that you:
- Install Microsoft Visual Studio(VS2005 or VS2008) on your computer
- Delete any bin and obj folders that were created with previous versions of Microsoft Visual Studio
Generate a Strong Name Key
- Confirm that your Path variable includes the folder of the Microsoft .NET Framework Strong Name Utility
(e.g., C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin).
- Run the following BAT file:
This will generate a Strong Name key to sign the generated components. If you prefer not to use GenSNKey.bat, then in a Command window, at \SDKInstallDir\Source, run the following command:
sn -k eBay.snk.
Use a WSDL to Generate Code Stubs
- Follow the code generation instructions in the Readme file in the following folder: SDKInstallDir\Tools.
- Confirm that code stubs were generated at SDKInstallDir\Source\eBay.Service.SDK\Core\Soap\WebService.cs.
Corresponding NAnt command: nant GenProxy
Use the Solution File to Build the SDK
Note: These instructions assume you are creating a Release build. If you are creating a Debug build, please
substitute "Debug" for "Release."
- Use Microsoft Visual Studio to open DOTNET.SOAP.sln (located at SDKInstallDir\Source\DOTNET.SOAP.sln).
If prompted, use the Visual Studio Conversion Wizard to update the solution and create backup files.
- Build the eBay.Service project.
- Confirm that the eBay.Service.dll file was generated in SDKInstallDir\Source\eBay.Service.SDK\bin\Release.
- Confirm that the eBay.Service reference in the eBay.Service.SDK.Attribute and
Helper projects is correct. It should point
If the Reference is incorrect, update it to
point to SDKInstallDir\Source\eBay.Service.SDK\bin\Release\eBay.Service.dll.
- Build the whole DOTNET.SOAP solution.
Corresponding NAnt command: nant BuildSourceInRelease
Copy the Built Files to the SDK Installation Directory
- In the SDKInstallDir\Source folder, run CopyRelease.bat.
- Use date stamps to confirm that the
recently-built files were copied to the SDK installation directory.
Corresponding NAnt command: nant CopyLibraryInRelease
Note: SDK samples (located at SDKInstallDir\Samples) reference
the built files in the SDK installation directory.