using System;
using NinjaTrader.Cbi;
using NinjaTrader.Client;
using NinjaTrader.Data;
namespace NTClient
{
class Program
{
static void Main(string[] args)
{
}
}
}
When I attempt to add a reference to NTDirect.dll, I receive the following error message:
A reference to 'C:\Program Files (x86)\NinjaTrader 6.5\bin\NtDirect.dll' could not be added. Please make sure that the file is accessible, and that it is a valid assembly or COM component.
Since I am browsing to this file directly, the problem must be that Visual Studio 2008 considers it to be an invalid assembly or COM component.
How can I fix this?
I have checked all other posts involving ntdirect.dll and have not found this particular issue --- others seem to be able to add the reference.
I have .NET 2.0 and .NET 3.5 installed. The project is set to target .NET 2.0 and x86.
Comment