I'm trying to export some of my strategies with the added CliSecure protection, but I'm having some trouble. Whenever I try to export one of my custom strategies I get a message saying "Error compiling export assembly. Please check your logs," so I go check the logs and I get the following error:
5/26/2012 3:04:36 PM|2|4|Error compiling export assembly: c:\Users\XXXXXXX\Documents\NinjaTrader 7\bin\Custom\Strategy\EDStrategyCommon.cs(52,13) : error CS0103: The name 'log' does not exist in the current context 5/26/2012 3:04:36 PM|2|4|Error compiling export assembly: c:\Users\XXXXXXX\Documents\NinjaTrader 7\bin\Custom\Strategy\EDStrategyCommon.cs(58,13) : error CS0103: The name 'log' does not exist in the current context 5/26/2012 3:04:36 PM|2|4|Error compiling export assembly: c:\Users\XXXXXXX\Documents\NinjaTrader 7\bin\Custom\Strategy\EDStrategyCommon.cs(69,21) : error CS0103: The name 'log' does not exist in the current context 5/26/2012 3:04:36 PM|2|4|Error compiling export assembly: c:\Users\XXXXXXX\Documents\NinjaTrader 7\bin\Custom\Strategy\EDStrategyCommon.cs(86,17) : error CS0103: The name 'log' does not exist in the current context
Something strange however, is that when I try to compile ALL of my strategies and indicators into one zip file, I don't get that error message! Maybe it has to do with adding some other strategies besides the EDStrategyCommon one, but how do I know which ones? Has anyone else encountered this error before or knows how to fix it?
Thanks in advance for the help!
Ezequiel

Comment