1. 5311

    5311 Naked Wanderer

    Hi guys I have one problem about that:

    18:10 [Error] Error while compiling WebPlugin.cs(21,31): error CS0234: The type or namespace name `MySql' does not exist in the namespace `Oxide.Core'. Are you missing an assembly reference?

    I using:

    Code (Text):
    using Oxide.Core.MySql;
    using Oxide.Core.Database;
    using System;
    using System.Linq;
    using System.Collections.Generic;
    using UnityEngine;
    using Oxide.Core;
     


    Code (Text):
            private readonly Core.MySql.Libraries.MySql _mySql = Interface.GetMod().GetLibrary<Core.MySql.Libraries.MySql>();
            private Connection _mySqlConnection;
    --- Double Post Merged, Jan 1, 2017 ---
    Ok I have a problem, im stupid - u can close threat
     
    Last edited: Jan 1, 2017
  2. kingst0n

    kingst0n Naked Wanderer

    Not just stupid but also selfish it seems. Don't turn the forums into your private help line and don't run away with lame "close" request. Always explain to others what you did to solve the issue so they can all profit from that.

    In this case the problem was:
    Code (Text):
    using Oxide.Core.MySql;
    ...which should obviously be replaced with:
    Code (Text):
    using Oxide.Ext.MySql;
    Hope this helps someone else at some point.

    P.S. The damn word is: thread. And you also forgot: please.
     
    Last edited: Mar 13, 2017
    !Dark! likes this.