Skip to content

version 1.6.1 error #392

Closed
Closed

Description

@drma-tech

System.TypeLoadException: Could not load type 'Supabase.Core.Http.RetryOptions' from assembly 'Supabase.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.
at Supabase.Client..ctor(String supabaseUrl, String supabaseKey, SupabaseOptions options)

Activity

  1. added
    bug
    on Aug 27, 2026
  2. fresh55 commented on Aug 27, 2026

    @fresh55
    Contributor

    This is a bug in 1.6.1 itself, not a local setup problem, so anyone on that version hits it. The package needs Supabase.Core.Http.RetryOptions but depends on Supabase.Core 1.2.0, which does not have that type, so it fails in the client constructor. Supabase.Gotrue 6.3.1 has the same problem.

    Until a fix ships, the last versions that do not reference the new API are:

    <PackageReference Include="Supabase" Version="1.6.0" />
    <PackageReference Include="Supabase.Gotrue" Version="6.3.0" />

    The open release PR #343 puts every package on a single version, so this resolves once 8.0.0 goes out.

  3. Tr00d commented on Aug 28, 2026

    @Tr00d
    Contributor

    @drma-tech Thanks for reporting this. Indeed, Core didn't ship.
    I'll work on that ASAP.

    @fresh55 This is related to the v1-maintenance branch. The current master will only ship v8.0.0 onward.

  4. self-assigned this
    on Aug 28, 2026
  5. Tr00d commented on Aug 28, 2026

    @Tr00d
    Contributor

    This is odd as that release doesn't depend on Supabase.Core.Http, which only exists on master.
    What's on GitHub looks good to me. I suspect an issue with the package generation.

    Give me some time, it will get fixed today. In the meantime, I'll deprecate those versions on NuGet.

  6. fresh55 commented on Aug 28, 2026

    @fresh55
    Contributor

    I deleted the 8.0.0 line in my comment above , thanks for correcting me 😅

    One thing that might help: the 1.6.1 dll seems to be built from master, not from c5c56e0. It has PostgrestRetry and WebSocketFactory, and those are not on that branch. Gotrue 6.3.1 looks the same.

    So Core alone may not be enough, because the dll also needs the newer Postgrest and Realtime.

  7. Tr00d commented on Aug 28, 2026

    @Tr00d
    Contributor

    @drma-tech This has been resolved, I pushed a new version.
    It was a local problem when I published packages, my nuget files were not overwritten. Given they're from the v1-maintenance branch, they have to be pushed manually (this branch will never get merged back to master).

    I tried on a local project and it looks good to me. Can you give it a try too?

  8. fresh55 commented on Aug 28, 2026

    @fresh55
    Contributor

    Tried 1.6.2 locally, works for me. No TypeLoadException anymore, and the dll no longer references the master code. Gotrue 6.3.2 looks good too. Thanks for the quick fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions