supabase-community / supabase-csharp

A C# Client library for Supabase
https://github.com/supabase-community/supabase-csharp/wiki
MIT License
485 stars 50 forks source link

Installing for Unity #161

Open atnegrete opened 3 months ago

atnegrete commented 3 months ago

Bug report

Describe the bug

I get this error after running the nuget command inside my Assets folder. nuget install supabase-csharp -OutputDirectory ./ -Framework netstandard2.0

Assembly 'Assets/Custom/Supabase/Microsoft.IdentityModel.Tokens.7.0.3/lib/net8.0/Microsoft.IdentityModel.Tokens.dll' will not be loaded due to errors: Unable to resolve reference 'System.Security.Cryptography'. Is the assembly missing or incompatible with the current platform? Reference validation can be disabled in the Plugin Inspector.

System information

If I delete Microsoft.IdentityModel.Tokens.7.0.3 it causes other errors, which is odd since it's not a "required" library according to this https://github.com/supabase-community/supabase-csharp/wiki/Unity ?

MhouneyLH commented 3 weeks ago

I just installed NuGetForUnity and installed the c#-client with it. It worked pretty well.