SteveDee

Bridge References C#

Recommended Posts

Hi, i wanted to use MySQL in my C# project.

So i added the MysqlData.dll and put it under assemblies in my meta.xml.

Now when i want to start the server it says that there are missing assembly references like System, System.Data, etc.

But they are all inside the "runtime" folder in the bridge folder.

How can i load them?

I cannot add all the dlls manually to my meta.xml

 

Thanks for your help

Share this post


Link to post
Share on other sites

1 Which net core version do you use?
2 What version of mysql do you use?

Now you do not have to put the meta packs.
just put this ...

rpg = my name on the project

<script src = "bin / Debug / netcoreapp2.1 / RPG.dll" />

Share this post


Link to post
Share on other sites

It should be version 2.1, i just opened the created package by the server.

I downloaded mysqlData via NuGet Package.

 

(Using Linux)

 

Spoiler

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Could not load file or assembly 'System.Data.Common, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.

 

Edited by SteveDee

Share this post


Link to post
Share on other sites

The bridge is working with 2.0 version of .NET Core, 2.1 will be supported with 0.4 version of RAGE.

  • Like 1

Share this post


Link to post
Share on other sites
1 hour ago, Xabi said:

Podul lucrează cu versiunea 2.0 a .NET Core, 2.1 va fi susținută cu versiunea 0.4 a RAGE.

work and net core 2.1 im tested.

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

  • Recently Browsing   0 members

    No registered users viewing this page.