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 kinfxhk, 07-14-2026, 09:39 AM
      0 responses
      123 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 07-13-2026, 10:18 AM
      0 responses
      104 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 07-13-2026, 09:50 AM
      0 responses
      82 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 07-13-2026, 07:21 AM
      0 responses
      102 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 07-11-2026, 02:11 AM
      0 responses
      83 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Working...
      X