Sign in to follow this  
Sleepy

System.Runtime Error (Visual C#) (Client-Side)

Recommended Posts

After adding a link to the rage-sharp library.dll and directly calling Events.Script the following error:

Цитата

Error CS1705 Build " rage-sharp "with identity" rage-sharp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null "uses" System.Runtime, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" with a higher version than the "system" Assembly.Runtime 'with identity' System.Runtime, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" referenced.    cs_packages C:\Games\RAGEMP\server-files\client_packages\cs_packages\Main.cs 

 

using RAGE;

public class Main: Events.Script
{
    //
}


The crux of the mistakes like as is clear, but as its fix - it is unclear.

There are no problems with client-server scripts.

Share this post


Link to post
Share on other sites

Fix. Changed the target platform in the project properties (client part) to 2.1 .Pure kernels.

Edited by Sleepy

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.