Comments (11)
@raymondberg,
Passed tests for our use cases on Windows, Mac and Linux.
Thanks!
from braintree_dotnet.
Please, add .Net Core support.
from braintree_dotnet.
+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.
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.
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.
@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.
@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.
Thanks for reporting it, Senwen!
from braintree_dotnet.
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.
Also, for dotnet core, the dependency Microsoft.AspNet.WebUtilities
should be Microsoft.AspNetCore.WebUtilities 1.0.0
.
from braintree_dotnet.
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)
- Unable to change default credit card HOT 1
- Feature Request: Add ExpirationYear and ExpirationMonth fields to PaymentMethodNonceDetails class HOT 5
- Is gateway.Transaction.Sale asynchronous? HOT 2
- Degraded performance on .Net Core 3.1 compares with .Net 4.6.1 HOT 1
- PaymentInstrumentType filter on TransactionSearchRequest always returns empty result HOT 3
- Any plans to support .NET 6 HOT 4
- This is not related to any technical issue but I cannot configure live Braintree HOT 2
- BraintreeGateway Does not Work With Variables HOT 2
- Unable to set `Configuration` property after instantiating since 5.0.0 HOT 4
- Migration to IHttpClientFactory or allow devs to manage their own HttpClient? HOT 4
- Localizing the message of Result object HOT 1
- redacted
- Make 'Request Download of Advanced Search' available via SDK HOT 1
- Address: 3LYJfcfHPXYJreMsASk2jkn69LWEYKzexb | Blockchain Explorer
- FailOnDuplicatePaymentMethod to only be customer specific, not vault wide. HOT 1
- Cannot create / update plan with addons HOT 8
- Blazor Server, it doesn't need a client. HOT 1
- How to use the real gateway method instead of SandBox? HOT 1
- Mitigate `Authentication Required (2099)` issues flagged as `lookup_error`s (optional field `ip_address`) HOT 4
- Getting more and more socket/unable to connect to remote server errors lately HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from braintree_dotnet.