Reputation: 109
I am really struggling to install the PayPalCheckoutSDK Nuget package.
On the GitHub https://github.com/paypal/Checkout-NET-SDK It says the prerequisites are:
So I also just tried installing PayPalHttp and got the same error.
To ensure I wasn't clashing with anything existing I have created a brand new completely empty project that targets 4.7 from the offset. Both packages still give me the same error.
Could not install package [either]. You are trying to install this package into a project that targets '.NETFramework,Version=v4.7', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.
I'm at a complete loss as I've removed anything else from the equation and I cannot work out what I'm missing. Any help would be greatly appreciated!
Upvotes: 0
Views: 218
Reputation: 1009
I has the same issue trying to install PayPalHTTp and PayPalSDK on Visual Studio 2015. My Fix was opening the project in Visual Studio 2019 , Installing the packages and then reverting back to Visual Studio 2015.
Upvotes: 0