influxdata / influxdata/influxdb-client-csharp

Get rid of System.Drawing.Common dependency

Open
#346 7 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
C#
Stars
377
Forks
93
Avg merge
9m
Merged PRs (30d)
2

Description

__Proposal:__
It would be quite useful to get rid of System.Drawing.Common dependency.

__Current behavior:__
My project uses the latest at the moment InfluxDB.Client 4.4.0. When I publish the project, the publish files contains runtimes\win\lib\net6.0\System.Drawing.Common.dll and runtimes\unix\lib\net6.0\System.Drawing.Common.dll
System.Drawing is outdated and not managed library. Having it is weird, because the client doesn't work with any graphics.

__Desired behavior:__
Have no System.Drawing in publish files.

__Alternatives considered:__
no

__Use case:__
For dotNet developers it's comfortable to use managed assemblies with low number of dependencies. The best situation when a client library has no dependencies except dotNet.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue does not name a file, test, or entry point. Start by locating the project dependency declarations and reproducing the publish output with InfluxDB.Client 4.4.0; done means the published files no longer include System.Drawing.Common while the client still builds and tests pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
build-system
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.