The DLLs included in the package may not be the latest version. We recommend using NuGet to obtain the latest version of the packages:
Install-Package RestSharp
Install-Package Newtonsoft.Json
Install-Package JsonSubTypes
Install-Package System.ComponentModel.Annotations
Install-Package CompareNETObjects
Note: RestSharp versions greater than 105.1.0 have a bug which causes file uploads to fail. See RestSharp#742.
Generate the DLL using your preferred tool (for example, dotnet build
).
Then include the DLL (under the bin
folder) in the C# project and use the namespaces:
using avalara.comms.rest.v2.Api;
using avalara.comms.rest.v2.Client;
using avalara.comms.rest.v2.Model;