Bukimedia / PrestaSharp

CSharp .Net client library for the PrestaShop API via web service
GNU General Public License v3.0
154 stars 152 forks source link

I only get exceptions :( #455

Closed rusagent closed 1 year ago

rusagent commented 1 year ago

Library Version:

1.2.9

NuGet Package Url:

https://www.nuget.org/packages/PrestaSharp/1.2.9

Prestashop version:

1.6.1.17

Describe the Bug:

As soon as i use GetIds()

i get this error:

{"Method not found: 'Void RestSharp.RestClient.set_BaseUrl(System.Uri)'."} | System.MissingMethodException

When i use GetAll() i get this error:

{"Method not found: 'RestSharp.IRestRequest RestSharp.RestRequest.AddParameter(System.String, System.Object)'."} | System.MissingMethodException

To Reproduce:

  1. Set up ManufacturerFactory
  2. Use GetAll or GetIds
  3. Exception gets thrown

Expected Behavior:

I expect to get all id's or all manufacturers.

rusagent commented 1 year ago

Well, i downgraded RestSharp to version 106.11.4 and now it works.