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 benmarkal, Yesterday, 12:52 PM
      3 responses
      22 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by helpwanted, Today, 03:06 AM
      1 response
      17 views
      0 likes
      Last Post sarafuenonly123  
      Started by Brevo, Today, 01:45 AM
      0 responses
      11 views
      0 likes
      Last Post Brevo
      by Brevo
       
      Started by aussugardefender, Today, 01:07 AM
      0 responses
      6 views
      0 likes
      Last Post aussugardefender  
      Started by pvincent, 06-23-2022, 12:53 PM
      14 responses
      244 views
      0 likes
      Last Post Nyman
      by Nyman
       
      Working...
      X