Update sqlsugar

This commit is contained in:
sunkaixuan
2023-04-12 18:54:38 +08:00
parent 9503fb837d
commit c24224c6a0

View File

@@ -627,7 +627,9 @@ namespace SqlSugar
try
{
assembly = Assembly.LoadFrom("MySqlBackupNet.MySqlConnector.dll");
Assembly currentAssembly = Assembly.GetExecutingAssembly();
string exePath = currentAssembly.Location.Replace("SqlSugar.dll", "MySqlBackupNet.MySqlConnector.dll");
assembly = Assembly.LoadFrom(exePath);
}
catch (Exception)
{