Click here to Skip to main content
15,923,689 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
C#
I am using  2 Dll  these name is

1 .PayPalCoreSDK.dll          version-1.7.1.0

2. PayPalAdaptivePaymentsSDK.dll        version-2.15.117.0

I am using these above dll's in my project but i am getting error message when i try to build my source code
Error Message-
"The type 'PayPal.BasePayPalService' is defined in an assembly that is not referenced. You 
must add a reference to assembly 'PayPalCoreSDK, Version=1.7.0.0, Culture=neutral, 
PublicKeyToken=5b4afc1ccaef40fb'".

 please help me how to resolve this issue.


What I have tried:

I have done some changes in web.config file and try to change the DLL multiple times
Posted
Updated 18-Apr-16 22:45pm

1 solution

The error is self-explanatory, add a reference to PayPalCoreSDK.dll and ensure it is version 1.7.0.0, or if you don't have that exact version you can try a bindingRedirect but there is no guarantee that will work.

Redirecting Assembly Versions[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900