Skip to content

No longer usable in projects with C++/CLI #712

@Antricion

Description

@Antricion

Due to a bug in RestSharp since Version 111.3, every version of Influxdb-client-csharp after the change from July 23, 2024, can no longer be used in a project that has to include a C++/CLI part as well.
restsharp/RestSharp#2233
Maybe it is finally an issue large enough to move away from RestSharp.

Steps to reproduce:
List the minimal actions needed to reproduce the behavior.

  1. Have an older project with C++/CLI, using InfluxDb-Client-CSharp 4.16.0 or older
  2. Upgrade to current InfluxDb-Client-CSharp and try to compile

Expected behavior:
Compile without error

Actual behavior:
Compiling results in unresolvable error:
error C2870: 'RestSharp': a namespace definition must appear either at file scope or immediately within another namespace definition (compiling source file 'Stdafx.cpp')

Specifications:

  • Client Version: 4.18.0
  • InfluxDB Version: Irrelevant
  • Platform: Windows 10@64, Windows11@64

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy