Jump to content
RAGE Multiplayer Community

Always missing DLL files


Division
 Share

Recommended Posts

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileLoadException: Could not load file or assembly 'Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'. Could not find or load a specific file. (Exception from HRESULT: 0x80131621) ---> System.IO.FileLoadException: Could not load file or assembly 'Newtonsoft.Json, Version=12.0.0.0, Culture=neutral,

I always get this errors in console but the process still works.
If I add dlls trough nuget packages, they are mostly throwing errors too (without carshing the server).

Tex are also copied to runtime folder. Any idea?

Link to comment
Share on other sites

okay found the reason.

put into ur project-settings 

<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>

rebuild your project and copy ALL dll files (this parameter above copies all dependencies to ur build) to runtime. viola errors gone.

Link to comment
Share on other sites

  • 2 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...