Ошибка
Unable to load shared library 'SQLite.Interop.dll' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libSQLite.Interop.dll: cannot open shared object file: No such file or directory The type initializer for 'NeptuneEVO.SDK.MySQL' threw an exception. Exception has been thrown by the target of an invocation. -> Error starting 'NeptuneEvo' System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for 'NeptuneEVO.SDK.MySQL' threw an exception. ---> System.DllNotFoundException: Unable to load shared library 'SQLite.Interop.dll' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libSQLite.Interop.dll: cannot open shared object file: No such file or directory at SQLiteErrorCode System.Data.SQLite.UnsafeNativeMethods.sqlite3_config_none(SQLiteConfigOpsEnum op) at bool System.Data.SQLite.SQLite3.StaticIsInitialized() at void System.Data.SQLite.SQLiteLog.Initialize(string className) at new System.Data.SQLite.SQLiteConnection(string connectionString, bool parseViaFramework) at new System.Data.SQLite.SQLiteConnection(string connectionString) at new System.Data.SQLite.SQLiteConnection() at new NeptuneEVO.SDK.Config(string category_) in C:/Desktop/FiveUP_ragemppro/server/dotnet/resources/NeptuneEvoSDK/Configuration.cs:line 24 at static NeptuneEVO.SDK.MySQL() in C:/Desktop/FiveUP_ragemppro/server/dotnet/resources/NeptuneEvoSDK/MySQL.cs:line 14 --- End of inner exception stack trace --- at void NeptuneEVO.SDK.MySQL.Init() in C:/Desktop/FiveUP_ragemppro/server/dotnet/resources/NeptuneEvoSDK/MySQL.cs:line 23 at new NeptuneEVO.Main() in C:/Desktop/FiveUP_ragemppro/server/dotnet/resources/NeptuneEvo/Main.cs:line 4818 --- End of inner exception stack trace --- at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean wrapExceptions, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& hasNoDefaultCtor) at System.RuntimeType.CreateInstanceDefaultCtorSlow(Boolean publicOnly, Boolean wrapExceptions, Boolean fillCache) at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, Boolean wrapExceptions) at System.Activator.CreateInstance(Type type, Boolean nonPublic, Boolean wrapExceptions) at GTANetworkInternals.GameServer.InstantiateScripts(Assembly targetAssembly, String resourceName)+MoveNext() at System.Linq.Enumerable.SelectEnumerableIterator`2.MoveNext() at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection) at GTANetworkInternals.GameServer.StartResource(String resourceName, String parent)
Пробывал исправить по данной инструкции:
Заключительный этап. Необходимо заменить файл SQLite.Interop.dll (при запуске на Windows данный файл сам копируется после сборки проекта): Копируем файл с заменой: отсюда dotnet\resources\client\bin\x64\Debug\netcoreapp3.1\runtimes\linux-x64\native\SQLite.Interop.dll сюда dotnet\resources\client\bin\x64\Debug\netcoreapp3.1\SQLite.Interop.dll Не забываем (у себя на ПК) заполнить файл MySQL.cs, скомпилировать решение и загрузить новые файлы client.dll и server.dll по пути: dotnet\resources\client\bin\x64\Debug\netcoreapp3.1 При необходимости удалите Settings.db и в дальнейшем при изменении серверной части необходимо заменять лишь два файла (client.dll и server.dll).
Но у меня нету папки даже client в dotnet\resources
Unable to load shared library 'SQLite.Interop.dll' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libSQLite.Interop.dll: cannot open shared object file: No such file or directory The type initializer for 'NeptuneEVO.SDK.MySQL' threw an exception. Exception has been thrown by the target of an invocation. -> Error starting 'NeptuneEvo' System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for 'NeptuneEVO.SDK.MySQL' threw an exception. ---> System.DllNotFoundException: Unable to load shared library 'SQLite.Interop.dll' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libSQLite.Interop.dll: cannot open shared object file: No such file or directory at SQLiteErrorCode System.Data.SQLite.UnsafeNativeMethods.sqlite3_config_none(SQLiteConfigOpsEnum op) at bool System.Data.SQLite.SQLite3.StaticIsInitialized() at void System.Data.SQLite.SQLiteLog.Initialize(string className) at new System.Data.SQLite.SQLiteConnection(string connectionString, bool parseViaFramework) at new System.Data.SQLite.SQLiteConnection(string connectionString) at new System.Data.SQLite.SQLiteConnection() at new NeptuneEVO.SDK.Config(string category_) in C:/Desktop/FiveUP_ragemppro/server/dotnet/resources/NeptuneEvoSDK/Configuration.cs:line 24 at static NeptuneEVO.SDK.MySQL() in C:/Desktop/FiveUP_ragemppro/server/dotnet/resources/NeptuneEvoSDK/MySQL.cs:line 14 --- End of inner exception stack trace --- at void NeptuneEVO.SDK.MySQL.Init() in C:/Desktop/FiveUP_ragemppro/server/dotnet/resources/NeptuneEvoSDK/MySQL.cs:line 23 at new NeptuneEVO.Main() in C:/Desktop/FiveUP_ragemppro/server/dotnet/resources/NeptuneEvo/Main.cs:line 4818 --- End of inner exception stack trace --- at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean wrapExceptions, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& hasNoDefaultCtor) at System.RuntimeType.CreateInstanceDefaultCtorSlow(Boolean publicOnly, Boolean wrapExceptions, Boolean fillCache) at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, Boolean wrapExceptions) at System.Activator.CreateInstance(Type type, Boolean nonPublic, Boolean wrapExceptions) at GTANetworkInternals.GameServer.InstantiateScripts(Assembly targetAssembly, String resourceName)+MoveNext() at System.Linq.Enumerable.SelectEnumerableIterator`2.MoveNext() at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection) at GTANetworkInternals.GameServer.StartResource(String resourceName, String parent)
Пробывал исправить по данной инструкции:
Заключительный этап. Необходимо заменить файл SQLite.Interop.dll (при запуске на Windows данный файл сам копируется после сборки проекта): Копируем файл с заменой: отсюда dotnet\resources\client\bin\x64\Debug\netcoreapp3.1\runtimes\linux-x64\native\SQLite.Interop.dll сюда dotnet\resources\client\bin\x64\Debug\netcoreapp3.1\SQLite.Interop.dll Не забываем (у себя на ПК) заполнить файл MySQL.cs, скомпилировать решение и загрузить новые файлы client.dll и server.dll по пути: dotnet\resources\client\bin\x64\Debug\netcoreapp3.1 При необходимости удалите Settings.db и в дальнейшем при изменении серверной части необходимо заменять лишь два файла (client.dll и server.dll).
Но у меня нету папки даже client в dotnet\resources