1. Using the following at the top of my C# class

    Code:
    using System;
    using System.Linq;
    using System.Collections.Generic;using Oxide.Core.Plugins;using Newtonsoft.Json;namespace Oxide.Plugins
    On attempting to save the entire file in the 'Server\server\oxide\plugins folder' it throws back
    "The type or namespace name `Newtonsoft' could not be found. Are you missing an assembly reference?" Other plugins I put in the same folder are able to load Newtonsoft just fine.

    As I see no visible indication as to what could be going wrong here, does anybody have any ideas?

    Oxide is standard from Github & compiled in VS 2015, Newtonsoft also exists in "RustDedicated_Data\Managed"
     
  2. Wulf

    Wulf Community Admin

  3. --Edit--

    Just saw the last part of your message about // Reference

    Thanks, noticed that in other scripts but never realized it was the missing key.
     
    Last edited by a moderator: Jun 5, 2015
  4. Hello!
    I have same problem with using classes from my own extension.

    Code:
    [Oxide] 5:45 PM [Error] Error while compiling StewAccessPlugin.cs(15,15): error CS0234: The type or namespace name `Ext' does not exist in the namespace `Oxide'. Are you missing an assembly reference?
    StewAccessPlugin.cs:
    Code:
    using Oxide.Ext.Stew;
    ...
    StewConfig m_config = new StewConfig();
    Extension:
    Code:
    namespace Oxide.Ext.Stew
    {
        public class StewConfig
        {
    ...
     
  5. Almost same trouble here.
    Code:
    [Oxide] 5:52 PM [Warning] Ignored obsolete game extension reference 'Oxide.Ext.RustUI' in plugin 'UITest'
    Had no time to investigate problem so i simply wiped few conditions from PluginCompiler.cs for a while.
     
  6. Wulf

    Wulf Community Admin

    That's not the same as the issues above. ;)
    [DOUBLEPOST=1433604007][/DOUBLEPOST]
    You're missing a using statement, simple as that. Oxide.Rust no longer exists, see the changelog or GitHub for info.