Serverside CSharp FAQ: Difference between revisions
mNo edit summary |
No edit summary |
||
| Line 13: | Line 13: | ||
{{FAQContainer| | {{FAQContainer| | ||
Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. System.TypeLoadException: Could not load type 'x' from assembly 'x', Version-4.2.x.x | | |||
This | This occurs when you '''compile''' your gamemode using a version of .NET Core that differs from the binaries in your '''runtime''' folder. To fix this issue, update your binaries in "\server-files\bridge\runtime\" to the version of .NET Core used to compile your dll}} | ||
Revision as of 13:28, 17 December 2018
Latest version of bootstrapper.dll/GTAN API
The latest version of bootstrapper.dll can be found inside your RAGEMP directory, located at %RAGEMP Directory%\server-files\bridge\runtime\Bootstrapper.dll
ParameterCountMismatchException
This is due to a mismatch between either one of your bridge.dll, runtime/bootstrapper.dll or bootstrapper.dll/nuget gtanetwork api. To resolve this, ensure you are using the latest version of each, and make sure your code is being compiled with the same bootstrapper.dll as in your server runtime files.
Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. System.TypeLoadException: Could not load type 'x' from assembly 'x', Version-4.2.x.x
This occurs when you compile your gamemode using a version of .NET Core that differs from the binaries in your runtime folder. To fix this issue, update your binaries in "\server-files\bridge\runtime\" to the version of .NET Core used to compile your dll