SteveDee Posted September 10, 2018 Share Posted September 10, 2018 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 Link to comment Share on other sites More sharing options...
CMHDev Posted September 10, 2018 Share Posted September 10, 2018 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" /> Link to comment Share on other sites More sharing options...
SteveDee Posted September 10, 2018 Author Share Posted September 10, 2018 (edited) 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 September 10, 2018 by SteveDee Link to comment Share on other sites More sharing options...
SteveDee Posted September 10, 2018 Author Share Posted September 10, 2018 I found out that i get the error when i use "connection.Open();" Link to comment Share on other sites More sharing options...
Xabi Posted September 10, 2018 Share Posted September 10, 2018 The bridge is working with 2.0 version of .NET Core, 2.1 will be supported with 0.4 version of RAGE. 1 Link to comment Share on other sites More sharing options...
SteveDee Posted September 10, 2018 Author Share Posted September 10, 2018 Okay that helped me to fix it. I had to upload 3 other dll which are referenced by mysqlData but now there are no errors left. Thank you. Link to comment Share on other sites More sharing options...
CMHDev Posted September 10, 2018 Share Posted September 10, 2018 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. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now