YetAnotherHttpHandler icon indicating copy to clipboard operation
YetAnotherHttpHandler copied to clipboard

Why is this not on NuGet?

Open arthurkehrwald opened this issue 10 months ago • 1 comments

Given that all the dependencies are on NuGet, wouldn't it make sense to upload this package to NuGet as well? That way, everything could be installed in one go using UnityNuGet.

arthurkehrwald avatar Feb 01 '25 10:02 arthurkehrwald

If we could distribute this library using NuGet, we would like to do so, but we are unable to do so for the following two reasons:

  • There is a branch in the C# source code that uses #if directives for Unity.
  • Because the names of the DLLs in DllImport are different for Standalone, iOS and UWP (Cysharp.Net.Http.YetAnotherHttpHandler.Native, __Internal, Cysharp.Net.Http.YetAnotherHttpHandler.Native.dll)

mayuki avatar Feb 03 '25 07:02 mayuki