I would like to add a wpf User Control to my project.
Using VS 2015 I can edit the NinjaTrader.custom.csproj and add such a control from the wizard. Using Visual Studio the build will go through with no error.
When I then try to compile this from within NT8 I get errors and the code cannot be compiled.
Here a typical error.
NinjaScript File Error Code Line Column
UserControl2.cs The type 'NinjaTrader.Custom.Strategies.UserControl2' already contains a definition for 'button' CS0102 11 49
Problem is probably related to the fact that VS compiles xaml files to a Page. I am not sure how the NT8 works.
Please give instructions on how to compile.
regards
Andreas
Comment