I had started by trying to include the source code w/in the NinjaTrader8\AddOns folder but the problem with that was that I could not get the file association between my MainWindow.xaml and the code behind file for it - MainWindow.xmml.cs to work. Also, there's some code that gets generated by Visual Studio ( or the compiler ) to create some bootstrapping for a WPF window and that code does not get generated from within the NinjaTrader.Custom project. So I moved the code to a separate assembly where it now compiles fine on it's own... The only problem now is integrating with NinjaTrader.Custom. I added a references form NinjaTrader.Custom to my assembly but I get duplicate symbol references.
What's the best practice for this situation? Should I put the project outside of the NinjaTrader 8 folder?
Comment