You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Visual studio 2017 C# Windows Forms
.NET Framework net462
NuGet :
supabase-csharp 0.16.2
supabase-core 0.0.3
supabase-storage-csharp 1.4.0
// Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace supabase
{
static class Program
{
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form1()); << Location of error
}
}
}
// Form1.cs
using Supabase;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace supabase
{
public partial class Form1 : Form
{
Client supabase;
public Form1()
{
InitializeComponent();
}
private async void button1_Click(object sender, EventArgs e)
{
var url = "SUPABASE_URL";
var key = "SUPABASE_KEY";
var options = new SupabaseOptions
{
AutoConnectRealtime = true
};
supabase = new Client(url, key, options);
await supabase.InitializeAsync();
var session = supabase.Auth.CurrentSession;
}
}
}
It does not operate due to the following error occurrence.
System.TypeLoadException: ''supabase, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' Cannot load type 'Supabase.Interfaces.ISupabaseClient`6' from assembly
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Visual studio 2017 C# Windows Forms
.NET Framework net462
NuGet :
It does not operate due to the following error occurrence.
Beta Was this translation helpful? Give feedback.
All reactions