Привет, только начал писать сервер и при создании SQL подключения выдает такие ошибки:
Закидывая в директорию dll выдает ошибку уже с другими dll
Код:
Could not load file or assembly 'B:\ragemp\server-files\dotnet\resources\Server\bin\Debug\netcoreapp3.1\System.Data.Common.dll'. Не удается найти указанный файл.
Could not load file or assembly 'System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Не удается найти указанный файл.
Exception has been thrown by the target of an invocation.
-> Error starting 'Server'
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.IO.FileNotFoundException: Could not load file or assembly 'System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Не удается найти указанный файл.
File name: 'System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
at void Server.MySQL.MySQL.InitConnection()
at void Server.Main.OnResourceStart() in B:/ragemp/server-files/dotnet/resources/Server/Main.cs:line 12
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
at GTANetworkInternals.ScriptingEngine.InvokeVoidMethod(String method, Object[] args)
at GTANetworkInternals.EventParser.Parse(Event _event, Object[] arguments)
at GTANetworkInternals.EventCollection.<>c__DisplayClass4_0.<ParseEx>b__1(EventParser x)
at System.Collections.Generic.List`1.ForEach(Action`1 action)
at GTANetworkInternals.EventCollection.ParseEx(Event _event, ScriptingEngine engine, Object[] arguments)
at GTANetworkInternals.EventHandler.ParseEx(Event _event, ScriptingEngine engine, Object[] arguments)
at GTANetworkInternals.GameServer.<>c.<StartResource>b__67_0(ScriptingEngine r)
at System.Collections.Generic.List`1.ForEach(Action`1 action)
at GTANetworkInternals.GameServer.StartResource(String resourceName, String parent)
Закидывая в директорию dll выдает ошибку уже с другими dll