Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

predefined preprocessor directives doesnt work in NT

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    predefined preprocessor directives doesnt work in NT

    there are "predefined" preprocessor directives:
    Learn the different C# preprocessor directives that control conditional compilation, warnings, nullable analysis, and more

    .NET Framework NETFRAMEWORK, NET20, NET35, NET40, NET45, NET451, NET452, NET46, NET461, NET462, NET47, NET471, NET472, NET48
    .NET Standard NETSTANDARD, NETSTANDARD1_0, NETSTANDARD1_1, NETSTANDARD1_2, NETSTANDARD1_3, NETSTANDARD1_4, NETSTANDARD1_5, NETSTANDARD1_6, NETSTANDARD2_0
    .NET Core NETCOREAPP, NETCOREAPP1_0, NETCOREAPP1_1, NETCOREAPP2_0, NETCOREAPP2_1, NETCOREAPP2_2
    however, in NT, they dont work. Please add support for those predefined .net preprocessors.

    #2
    Hello TazoTodua,

    From my understanding preprocessor tags are not supported by NinjaTrader, however I will look further into this.

    I appreciate your patience while I research.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hello TazoTodua,

      I was able to confirm pre-processor directives are not supported and will cause issues with NinjaScript.

      I will submit your vote to feature request SFT-602, 'Allow NS auto-generated code to respond to pre-processor directives in an NS script'.
      Chelsea B.NinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Barry Milan, Yesterday, 10:35 PM
      5 responses
      16 views
      0 likes
      Last Post NinjaTrader_Manfred  
      Started by DanielSanMartin, Yesterday, 02:37 PM
      2 responses
      13 views
      0 likes
      Last Post DanielSanMartin  
      Started by DJ888, 04-16-2024, 06:09 PM
      4 responses
      13 views
      0 likes
      Last Post DJ888
      by DJ888
       
      Started by terofs, Today, 04:18 PM
      0 responses
      12 views
      0 likes
      Last Post terofs
      by terofs
       
      Started by nandhumca, Today, 03:41 PM
      0 responses
      8 views
      0 likes
      Last Post nandhumca  
      Working...
      X