Comments (6)
Hello, thanks for reaching out!
We are actually right now in the process of exploring dropping RestSharp as a dependency from our library, since it's not being used. That should remove the dependency conflict from your system. We'll keep you updated on the process!
from easypost-csharp.
@nwithan8 Unfortunately, I get the following exception when using the latest RestSharp:
Error: System.MissingMethodException: Method not found: 'Void RestSharp.RestClient..ctor(System.Net.Http.HttpClient, RestSharp.RestClientOptions, Boolean)'.
at EasyPost._base.EasyPostClient..ctor(String apiKey, String baseUrl, HttpClient customHttpClient)
at EasyPost.Client..ctor(String apiKey, String baseUrl, HttpClient customHttpClient)
at LogisticsBusinessLogic.Services.ShippingService.WebhookTest() in <SNIP>\ShippingService.cs:line xx
Downgrading RestSharp to 108.0.1 fixes this.
If the new major version is coming soon we may as well wait for it.
from easypost-csharp.
@nwithan8 We are using .NET 7.
from easypost-csharp.
Hey @MaxwellDAssistek , wanted to let you know we are in officially in the process of dropping RestSharp in our next major release (along with a number of breaking changes and improvements).
While we encourage you to update the the latest version when it gets released, in the meantime, we've released v4.6.1, which simply extends the RestSharp dependency range so you'll be able to use RestSharp v110 in your solution.
I'm going to go ahead and close this ticket, but let us know if there's anything else you need help with!
from easypost-csharp.
We'll look into this and see if we can fix it. Thanks for reporting.
@MaxwellDAssistek could you share what .NET version you are running on?
from easypost-csharp.
@MaxwellDAssistek Hey Max, it seems there was some breaking change between v108 and v109 of RestSharp that makes it incompatible with our library. We've recalled v4.6.1
and replaced it with v4.6.2
, which still locks to RestSharp v108.
In your case, if downgrading to RestSharp v108 is not an option, we just released v5.0.0
of our library, which drops RestSharp as a dependency entirely. It is a major version bump, however, and has some significant breaking changes. You can see our Upgrade Guide to see what updating to the new version would entail.
I'm going to go ahead and close this ticket. Feel free to reopen it if you have any more questions or issues.
from easypost-csharp.
Related Issues (20)
- DeliveredDutyPaid vs Incoterm? HOT 1
- Add Ability to Register Carriers with Custom Flows HOT 7
- Add equality overload for comparison of EasyPostObject and dictionary HOT 1
- Add back ability to instantiate model classes HOT 5
- SSIS scrip task HOT 32
- [Bug]: EasyPost.Models.API.Rate does not include the "rate" field HOT 2
- Add bool verify and bool verify_strict properties to Address object HOT 7
- [Bug]: Shipment Buy for FedEx Intl returns invalid shipment object HOT 2
- [Issue]: API not responding on any call HOT 12
- [Bug]: Model constructors were all made internal HOT 5
- [Bug]: Cannot new Option in EasyPost.Parameters.Shipment.Create HOT 1
- [Bug]: Deadlock when blocking on async methods HOT 4
- [Feat]: Specify EasyPost.Parameters.Order.Create.CarrierAccounts by Id HOT 5
- [Bug]: shipments.all request hangs indefinitely HOT 7
- [Bug]: TimeInTransitDetails.EasyPostEstimatedDeliveryDate has incorrect JSON name mapping HOT 2
- [Bug]: Editing property values on parameters failing subsequent calls to paginated methods. HOT 5
- [Feat]: Change pickup_min_datetime and pickup_max_datetime Shipment Options types to string HOT 6
- [Bug]: RetrieveStatelessRates does not send CarrierAccounts correctly HOT 3
- [Feat]: Add BuyerAddress and ReturnAddress support in EasyPost.Parameters.Order.Create HOT 5
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 easypost-csharp.