Error when trying to read data from InfluxDB database

Hi,
I have a web MVC application in C# with targer framework: .NET Framework 4.5.2. I want to read some data from an InfluxDB database.
After I publish and run my application, I get this error:

System.IO.FileLoadException
Message : Could not load file or assembly ‘netstandard, Version=2.1.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51’ or one of its dependencies. The located assembly’s manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
StackTrace : at System.Reflection.CustomAttribute._CreateCaObject(RuntimeModule pModule, IRuntimeMethodInfo pCtor, Byte** ppBlob, Byte* pEndBlob, Int32* pcNamedArgs)
at System.Reflection.CustomAttribute.CreateCaObject(RuntimeModule module, IRuntimeMethodInfo ctor, IntPtr& blob, IntPtr blobEnd, Int32& namedArgs)
at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType, Boolean mustBeInheritable, IList derivedAttributes, Boolean isDecoratedTargetSecurityTransparent)
at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeMethodInfo method, RuntimeType caType, Boolean inherit)
at DevExpress.DataAccess.ObjectBinding.ObjectMember…ctor(MemberInfo memberInfo)
at DevExpress.DataAccess.Native.ObjectBinding.ObjectDataSourceFillHelper.<>c.b__24_5(MemberInfo info)
at System.Linq.Enumerable.WhereSelectEnumerableIterator2.MoveNext() at System.Linq.Enumerable.WhereEnumerableIterator1.MoveNext()
at System.Collections.Generic.List1..ctor(IEnumerable1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable1 source) at DevExpress.DataAccess.Native.Web.ObjectDataSourceWizardService.GetMemberInfo(Type type, IObjectDataSourceMemberFilterService filterMemberService) at DevExpress.DataAccess.Native.Web.ObjectDataSourceWizardService.GetAvailableObjectDescriptions(String context) at lambda_method(Closure , IQueryBuilderRequestController , String ) at DevExpress.XtraReports.Web.Native.ClientControls.Services.RequestManagerBase2.WrapWithTryCatchAction(String controllerTypeName, String methodName, String webActionName, ControllerFunc invoker, TController controller, String json)

In order to establish the connection, I had to add two references: InfluxDB.Client and InfluxDB.Client.Core. How could I solve this error?

This kind of error is .NET related and has nothing to do with InfluxDB…

I suggest looking for it on StackOverflow