Closed Sewer56 closed 2 years ago
Thanks! Would you mind updating the other native codec projects the same way? They'll all be using the Stream extension methods and will have the same issue. I'd prefer to get them all updated in the same commit.
Yeah no problem, let me get on that.
Alright, should be good 👍
Thanks again!
This fixes extensions (
libjxl
,libpng
etc.) innetcoreapp3.1
&net5.0
runtimes. (I verified this manually inside dummy project).Previously, when using these runtimes, a version of
libjxl
would be picked that doesn't natively support spans (NS2.0
) and one that does for main library (netcoreapp3.1
), leading to the extension trying to call stream extension method(s) that don't exist in the main library. [i.e. mismatched native span support define]This PR simply changes the
.csproj
such that the extension TFMs match the main project's TFMs, under both default anddist
configuration.