Jump to content

Elixo_

Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by Elixo_

  1. 2 hours ago, Xabi said:

    When updating the MySQL Nuget, you have to copy the .dll into runtime folder.

    Thank you for your response as fast. My MySql.Data problem is resolved but now I am blocking in the room, I had no login request .
    In my server logs I have this: (I have
    WiredPlayers.resources.dll)

    Quote

    ==================[21/03/2019 23:55:42]==================
    System.IO.FileNotFoundException: Could not load the specified file.
    File name: 'WiredPlayers.resources'
       at Assembly System.Runtime.Loader.AssemblyLoadContext.ResolveUsingEvent(AssemblyName assemblyName)
    =========================================================

    ==================[21/03/2019 23:55:42]==================
    System.IO.FileNotFoundException: Could not load file or assembly 'C:\RAGEMP\server-files\bridge\resources\WiredPlayers\bin\Debug\netcoreapp2.2\WiredPlayers.resources.dll'. The specified file can not be found.
    File name: 'C:\RAGEMP\server-files\bridge\resources\WiredPlayers\bin\Debug\netcoreapp2.2\WiredPlayers.resources.dll'
       at void System.Runtime.Loader.AssemblyLoadContext.LoadFromPath(IntPtr ptrNativeAssemblyLoadContext, string ilPath, string niPath, ObjectHandleOnStack retAssembly)
       at Assembly System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyPath(string assemblyPath)

     

  2. Hi, I have a problem with MySql.data, I can not find a solution.
    The MySql.Data is in my "runtime" folder.
    Nuget:
    MySql.Data 8.0.15
    gtaanetwork.api v0.3.6
    Microsoft.NETCore.App v2.0.7

    Error :

    Quote

    1553192860-capture-d-ecran-396.png

    Quote

    -> Error starting 'WiredPlayers'
    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Could not load file or assembly 'MySql.Data, Version=8.0.15.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d'. Le fichier spécifié est introuvable.
       at List<BusinessModel> WiredPlayers.database.Database.LoadAllBusiness()
       at void WiredPlayers.business.Business.LoadDatabaseBusiness() in C:\RAGEMP\server-files\bridge\resources\WiredPlayers\business\Business.cs:line 21
       at void WiredPlayers.database.Database.OnResourceStart() in C:\RAGEMP\server-files\bridge\resources\WiredPlayers\database\Database.cs:line 46
       --- 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 GTANetworkInternals.ScriptingEngine.InvokeVoidMethod(String method, Object[] args)
       at System.Collections.Generic.List`1.ForEach(Action`1 action)
       at GTANetworkInternals.EventHandler.ParseEx(Event _event, ScriptingEngine engine, Object[] arguments)
       at System.Collections.Generic.List`1.ForEach(Action`1 action)
       at GTANetworkInternals.GameServer.StartResource(String resourceName, String parent)

     

×
×
  • Create New...