House Regions not work after update.

Discussion in 'Plugin Discussion' started by RESi, Apr 2, 2019.

  1. RESi

    RESi Level 1

    Joined:
    Sep 30, 2012
    Messages:
    6
    Hello
    How i can fix this?
    Code:
    Error: Startup aborted due to an exception in the Server API initialization:
    System.InvalidOperationException: Failed to load assembly "Plugin Common Lib 4.0.3.dll". ---> System.IO.FileLoadException: Could not load file or assembly 'Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
       at System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes)
       at System.Reflection.RuntimeAssembly.GetExportedTypes()
       at TerrariaApi.Server.ServerApi.LoadPlugins()
       --- End of inner exception stack trace ---
       at TerrariaApi.Server.ServerApi.LoadPlugins()
       at TerrariaApi.Server.ServerApi.Initialize(String[] commandLineArgs, Main game)
       at TerrariaApi.Server.HookManager.InitialiseAPI()
     
  2. Kojiro_S

    Kojiro_S Level 11

    Joined:
    Feb 16, 2014
    Messages:
    637
    I really don't know what your problem is, as I'm using House Regions as well and the update did not break anything.
     
  3. Zaicon

    Zaicon Spam Cleaner 9000
    TShock Mod Plugin Developer

    Joined:
    Feb 15, 2014
    Messages:
    808
    Copy (don't move, just copy) the "Newtonsoft.Json.dll" file into the ServerPlugins folder.
     
    • Like Like x 1
  4. RESi

    RESi Level 1

    Joined:
    Sep 30, 2012
    Messages:
    6
    fixed, thanks.