• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

compile error, AddOnBase missing!

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    compile error, AddOnBase missing!

    Hello,
    I suddenlyI get compile errors at many of my addons (I have not touched them for a long time, and they have been compiled without any problems). To test the problem I created a new addon by use of the wizard, and that one do not compile. The compiler cannot find AddOnBase.

    This is the auto-generated addon that do not compile:

    namespace NinjaTrader.NinjaScript.AddOns
    {
    public class MyCustomAddOn : NinjaTrader.NinjaScript.AddOnBase
    {
    protected override void OnStateChange()
    {
    if (State == State.SetDefaults)
    {
    Description = @"Enter the description for your new custom Add on here.";
    Name = "MyCustomAddOn";
    }
    else if (State == State.Configure)
    {
    }
    }
    }
    }

    I guess this is a simple error, but anyway I cannot find the solution.

    Regards, Andbro

    #2
    Hi Andbro,

    I would recommend running the repair from the installer in case any system files were accidently deleted.

    http://ninjatrader.com/PlatformDirect

    If you still get compile errors, please include a screenshot of the error messages with the Error column fully expanded so that we may read the full error message.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hello ChelseaB, thank you for your reply. This problem was probably bigger than I expected. I did your advice, and started with a repair but that did not help. I had to reinstall NT, and now it is working. I have no idea how the file could disappear … anyway NT is working now.

      Have a nice day. /AndBro

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by xfbrq, Today, 05:41 AM
      0 responses
      3 views
      0 likes
      Last Post xfbrq
      by xfbrq
       
      Started by alcmvd, Today, 03:02 AM
      0 responses
      4 views
      0 likes
      Last Post alcmvd
      by alcmvd
       
      Started by Dragon989, 11-02-2018, 04:59 PM
      2 responses
      65 views
      0 likes
      Last Post krimkrim  
      Started by Bikotoru, Yesterday, 04:34 PM
      0 responses
      13 views
      0 likes
      Last Post Bikotoru  
      Started by dmking, Yesterday, 03:42 PM
      2 responses
      12 views
      0 likes
      Last Post nikhilkanna1234  
      Working...
      X