Skip to main content
Published: March 01 2007, 11:27:00 AMUpdated: November 28 2020, 3:21:52 PM

I am trying to use the .NET SDK with VB6, but when I try to compile my application I get the following compile error:

Can't find project or library

Then it takes me to the Project References and highlights the following:

Missing: eBay_Service

How can I fix this?

Summary

It is recommend that you use the .NET SDK only with the .NET environment as it the SDK has minimal COM support.  However, if you have reasons to use it with VB6, then here is how you can correct the reference by registering the eBay.Service.dll assembly as a COM component.

 


Detailed Description

Here is how you can register the COM component:

1.  Make sure that you have the .NET Framework utilities in environment path. 
     They are generally located in systemroot\Microsoft.NET\Framework\<version>. 
     example C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
2.  Locate the folder where you installed the SDK.  ( example:  C:\Program Files\eBay\eBay .NET SDK v495 Full Release )
3.  From the command, cd to the SDK installation folder and execute the following:
     UnRegSDK.bat
     RegSDK.bat

In the VB project:
1. Remove the reference to eBay.Service.dll (missing)
2. Add the reference to eBay.Service.dll



Version Info

The code example above was based on the versions specified below:

.NET SDK Version .NET SDK v495.0 full release



How well did this answer your question?
Answers others found helpful