Giter Site home page Giter Site logo

Comments (11)

senwen avatar senwen commented on June 11, 2024 5

@raymondberg,
Passed tests for our use cases on Windows, Mac and Linux.
Thanks!

from braintree_dotnet.

otabekgb avatar otabekgb commented on June 11, 2024 3

Please, add .Net Core support.

from braintree_dotnet.

dwdickens avatar dwdickens commented on June 11, 2024 2

+1 to resolve this. .Net Core is fantastic and the lack of compatability is making me look at Stripe's rest interface instead. It doesn't look like there's much to convert to move Braintree dotnet across - this is a good starting point: https://visualstudiogallery.msdn.microsoft.com/1177943e-cfb7-4822-a8a6-e56c7905292b

from braintree_dotnet.

thoughtentity avatar thoughtentity commented on June 11, 2024 2

Adding another vote for this, especially now that .NET Core 1.0 RTM'd in late June 2016. This is actually a blocker for us deploying on Windows Nano Server since ONLY the .NET Core CLR is supported on that platform. Targeting the .NET Braintree library on a .NET Standard would also future proof the library and allow it to run on an expanded set of platforms including OSX, Linux and mobile platforms such as iOS and Android through Xamarin.

from braintree_dotnet.

raymondberg avatar raymondberg commented on June 11, 2024

Hi, @mkarlsson. We've been able to produce similar results and will be working to resolve this issue. We'll let you know if we have any status/questions for you.

from braintree_dotnet.

raymondberg avatar raymondberg commented on June 11, 2024

@mkarlsson @thoughtentity @otabekgb @dwdickens @gregbty @senwen @abhurtun

We've released 3.0.0 which deprecates support for older platforms and targets support for .NET Core. We'd love feedback on it and for some early integrations to test our solution.

I'm going to close this issue as 3.0.0 addresses this support, but please open other issues or PRs if you discover any improvements we can make. We really appreciate your voices on this!

from braintree_dotnet.

senwen avatar senwen commented on June 11, 2024

@raymondberg
I just tried pulling latest from nuget and doing a restore and got this error:

Package Braintree 3.0.0 is not compatible with netcoreapp1.0 (.NETCoreApp,Version=v1.0). Package Braintree 3.0.0 supports: net (.NETFramework,Version=v0.0)
One or more packages are incompatible with .NETCoreApp,Version=v1.0.

Anyone else running this issue?

from braintree_dotnet.

raymondberg avatar raymondberg commented on June 11, 2024

Thanks for reporting it, Senwen!

from braintree_dotnet.

thoughtentity avatar thoughtentity commented on June 11, 2024

Quick thing I noticed in the project.json file is that the Braintree library is targeting netcoreapp10 the actual TFM should be netcoreapp1.0 which is likely the cause for the error.

Though the bigger issue is that the Braintree library is using the netcoreapp TFM in the first place which is meant for full applications not libraries. Libraries like Braintree are supposed to target a .Net Standard version based on the required BCL APIs it needs. The TFM for .Net Standard isnetstandard so a TFM targeting .Net Standard 1.2 would like this netstandard1.2. The .Net Standard platform has a much smaller dependency chain then .Net Core App platform.

from braintree_dotnet.

senwen avatar senwen commented on June 11, 2024

Also, for dotnet core, the dependency Microsoft.AspNet.WebUtilities should be Microsoft.AspNetCore.WebUtilities 1.0.0 .

from braintree_dotnet.

raymondberg avatar raymondberg commented on June 11, 2024

Thanks again, @thoughtentity and @senwen, for your follow-up. We were able to release 3.0.1 using a different publishing mechanism to ensure both versions of the dll are exposed. Our tests show a fully compatible nuget package on our side; please let us know if you see the same!

from braintree_dotnet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.