BSiLabs / HttpTracer

MIT License
172 stars 13 forks source link

Incompatible with .NETPortable Framework #35

Closed saamerm closed 5 years ago

saamerm commented 5 years ago

Hey @DanielCauser, @dylanberry, @ChaseFlorell ! I was excited to add this package into my project when I saw you guys speak about it, but I am getting the following error:

NU1202: Package HttpTracer 1.0.3 is not compatible with portable45-net45+win8+wpa81 (.NETPortable,Version=v4.5,Profile=Profile111). Package HttpTracer 1.0.3 supports:

Is there a way to still add it somehow without changing the Target Framework?

DanielCauser commented 5 years ago

Hey @saamerm, indeed we have an open issue #24 to add support for PCL. We parked it for until the community requested it. It might be time to maybe bring it back to life.

saamerm commented 5 years ago

Yeah I tried for several hours to convert my app to netstandard2.0 but after spending half a day I landed on an issue I couldn't yet figure how to resolve. Will have to try the upgrade some other day

dylanberry commented 5 years ago

@saamerm I'm going to add PCL to our multi-targeting setup. Watch for a new release later today 😄

dylanberry commented 5 years ago

@saamerm I tried, it's more painful than I thought to support PCL. LMK if you need a hand converting to netstandard2.0.

DanielCauser commented 5 years ago

A lot of compiler directives eh!?

dylanberry commented 5 years ago

And conditional references to the HttpClient package too. Ugly. Onward and upward.

On Sun., Apr. 21, 2019, 10:29 a.m. Daniel John Causer, < notifications@github.com> wrote:

A lot of compiler directives eh!?

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/BSiLabs/HttpTracer/issues/35#issuecomment-485256167, or mute the thread https://github.com/notifications/unsubscribe-auth/AAOBL7R5D7K3AJMN76F3MMLPRR24HANCNFSM4HAGRSIA .

saamerm commented 5 years ago

@dylanberry I appreciate you trying. It is painstakingly difficult to convert it to a 2.0, so I will take you up on that offer!