Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removes System.Drawing from IdSharp.Tagging #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

atruskie
Copy link

Hi!

Please excuse the direct PR but I figured it was easier to submit a patch with the work done (and to change it if necessary) rather than explain this in an issue.


When installing this library via nuget, it also attempt to install System.Drawing (and System.Win32.Events):

image

Coupling this library with System.Drawing for one use case is unnecessary, especially when many libraries have gone to great pains to remove System.Drawing form their stacks.

This commit moves the System.Drawing parts of AttachedPicture into a separate project so that those references do not pollute the main library.

More work is needed to, especially in deciding whether or not to keep the AttachedPictureWithImage class and possibly publishing a new nuget package as well.

What do you think?

Coupling this library with System.Drawing for one use case is unnecessary, especially when many libraries have gone to great pains to remove System.Drawing form their stacks.

This commit moves the System.Drawing parts of AttachedPicture into a separate project  so that those references do not pollute the main library.

More work is needed to, especially in deciding whether or not to keep the AttachedPictureWithImage class.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant