I had a conversation with ninja Brett and he mentioned concerns about upgrading NT because the new framework is not yet widespread and that there was a patch for a serious bug released just a month ago.
Unless I'm mistaken, NT itself does not have to be upgraded to use .Net 4.6. All that is needed is the option for the NinjaTrader.Custom.dll to be compiled using .Net 4.6. What I think should work is that a list of the installed compilers can be retrieved from the machine. The default can be .Net 4.5 but allow the user to choose which compiler they want to use. Alternatively, there could just be a dialog that lets the user select the compiler executable (csc.exe) they want to use. The rest of the application should not care what version of the framework an assembly is compiled with.
With this approach, each user is free to use whatever compiler he/she chooses without affecting the application or other users and we don't have to wait for an NT upgrade to be able to use new .Net releases. I think the second option should be really easy to implement.
Comment