Jump to content

Version problems with .Net Core 2.0 framework


Recommended Posts

Posted

Hello!

 

I'm beginner in RageMP, so I would like to get advice. :)
We would like to use .Net Core 2.0 framework, because if I have any problems, I can get help for this version from my teammate.

So first I tried to follow a .Net Core 2.0  tutorial, but the current RageMP installer no longer includes the server.exe used in tutorial. Instead it uses ragemp-server.exe that doesn't work with .Net Core 2.0. To solve this I got an old RageMP  installer version from my teammate which immediately got the update to latest version, but the server.exe can be used and the server has been started. It worked with gtanetwork v0.3.7, but for the OnplayerConnected event to work properly, I needed to remove the nuget and deleted the \server-files\brigde\runtime\bootstrapper.dll and then updated the RageMP  based on the tutorial. It didn't work, because realized that in the new version I need to delete the bootstrapper.dll in folder \server-files\dotnet\runtime and the RageMP  will update it. :)

After I did these things and removed the nuget as well, I got this error message, which I have no idea:
 

Error	CS1705	Assembly 'Bootstrapper' with identity 'Bootstrapper, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null' uses 'System.Runtime, Version=4.2.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' which has a higher version than referenced assembly 'System.Runtime' with identity 'System.Runtime, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'	


Or I think there may be some version difference. Maybe won't be able to use .Net Core 2.0 framework or just I messed something up?
Anyway, can I have a bigger problem later with the new RageMP if I learn to use .Net Core 2.0?

Thank you very much in advence! :)

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
  • Recently Browsing   0 members

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