Closed bluee closed 4 years ago
I think that is fixable, if only you would have copied the start of the exception so I know what the error is 🤷
What version are you using, and what are you trying to do? From the stacktrace it's not really visible what you are calling.
After thinking about this, I still got some questions.
Are you actually trying to use the avatar bitmaps?
AFAIK the BitmapSourceHttpContentConverter is not added out of the box, at least not in the latest version. Did you add this yourself?
I currently have no code yet to handle bitmap content without System.Drawing or PresentationCore. You might want to use ImageSharp for this... I'd be interested in a PR for this, if you are going that way.
I even double checked, there is no reference to PresentationCore in the current version of the dotnet core 3.1 build of Dapplo.Jira or Dapplo.HttpExtensions.
Hi, I'm not using the Bitmap functionality. I added Dapplo.Jira to a .NET Core 3.1 Azure Function and got the above exception on my localhost. My workaround for now is to just use REST queries so nothing urgent.
All I did was to add a Dapplo.Jira to an clean Azure function 3.1 template. Do one query for a Jira ID. That's it.
As I asked before, can you add the nuget version you are using, and if possible the exception? I don't even see the information which makes you say that it's due to a dependency to PresentationCore.
I'm not sure what is triggering the error you are seeing, as normally you have to DO something actively to make Dapplo.Jira retrieve a bitmap. But unfortunately you are not really providing me much input.
What do you mean with one query for a Jira ID, can you show the code?
Ping?
I have tried to re-produce the issue as I didn't keep the original code but without luck. Please close for now and I will re-open if I can re-produce it at a later stage. Thanks.
Thank you for the feed back, that comforts me... I think you were using an older version.
In .NET Core 3.1 (Azure function) I get this error which seems to be related to Avatar bitmap handling. Is it possible to disable this to avoid dependency on PresentationCore?