In a recent NT upgrade I see that you have change NT to now only target x64 CPU architecture. Also, binaries are now installed to C:\ProgramFiles instead of C:\Program Files (x86). Great.
However the NinjaTrader.Custom.csproj (and possibly the entire NT codebase) is still referencing the x86 .NET assemblies. You can see this when you configure references in the NinjaScript Editor:
Visual Studio also warns you of this issue when you build the NinjaTrader.Custom.csproj project. Here are the warnings when targeting "Any CPU":
And here are the warnings when targeting x64:
I tried replacing the x86 .NET references with the x64 .NET references in the NinjaScript Editor but NT puts the x86 .NET references back in and fails to compile because there are now both x86 and x64 .NET assembly references:
It is not good practice to mix target CPU architectures in an application. That's why Visual Studio gives these build warnings when doing so, and in particular "This mismatch may cause runtime failures."
Please, if you're going to explicitly target the x64 CPU architecture in your NT codebase (and NinjaTrader.Custom.csproj) please can you also target the x64 .NET framework (C:\Windows\Microsoft.NET\Framework64) and not the x86 .NET framework (C:\Windows\Microsoft.NET\Framework)?
Thanks you in advance for your consideration.

Comment