filipetoscano / invoicexpress

.NET client for invoicexpress.com
MIT License
0 stars 1 forks source link

.NET 7 incompatibility #32

Open SolidSoft-Lda opened 1 year ago

SolidSoft-Lda commented 1 year ago

Does not work with .NET 7 Environment: macOS + VS 2002 for macOS Can instal nuget however intelissense does not recognise InvoiceXpress But, creating a project with .NET 6, it works in the same environment

filipetoscano commented 1 year ago

@SolidSoft-Lda Checking.

filipetoscano commented 1 year ago

@SolidSoft-Lda Migrated all the projects to .NET 7 -- and compiling worked fine.

I currently don't have an API key (e.g. for a trial account) -- so cannot confirm if the unit tests run correctly. Will reach out to the company asking for one.

SolidSoft-Lda commented 1 year ago

On my case also compiles however VS for mac does not recognise intellisense. It's not a major issue, since it works fine with .NET 6 (VS recognise). I just wanted to let you know.

filipetoscano commented 1 year ago

Updating RestSharp dependency however does fail.

Severity    Code    Description Project File    Line    Suppression State
Error   CS1061  'RestClient' does not contain a definition for 'UseJson' and no accessible extension method 'UseJson' accepting a first argument of type 'RestClient' could be found (are you missing a using directive or an assembly reference?)  InvoiceXpress   C:\Work\invoice\invoicexpress\src\InvoiceXpress\Api\InvoiceXpressClient.cs  37  Active

Looking into this.