After placing this DLL in NT7's bin/custom directory, and adding a reference to the DLL, in an existing (working) indicator I get these messages !
NT 64-bit 7.0.1000.30
Output Window
Error on calling 'OnBarUpdate' method for indicator 'TestMA' on bar 0: Could not load file or assembly 'MyFirstDLL, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
Trace
2015-12-29 07:17:24:448 Loading 3rd party C:\Users\oem\Documents\NinjaTrader 7\bin\Custom\MyFirstDLL.dll...
2015-12-29 07:17:24:455 WARNING: Ignoring 'C:\Users\oem\Documents\NinjaTrader 7\bin\Custom\MyFirstDLL.dll' since it was not recognized as .NET assembly.
I note that other indicators generally deliver three files - .cs, .dll (32bit), .dll (64bit).
How do I do this in VS2015 please ? Note : In VS I have set output to 64bit, and dot.net at version 3.5 for generated output, thinking that this is the latest compatible for NT7.
I have googled and read just about every relevant forum post I can find and am still stumped as I just dont know enough about generating assemblies for NT from VS. I would be grateful for any assistance please.
Comment