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
Comment