Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

StreamWriter dll Missing - NT8

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

    StreamWriter dll Missing - NT8

    Dear Support,

    I am converting an indicator that makes use of StreamWriter.dll. I receive error # CS0246 that basically tells me StreamWriter dll is not on the list of Refrences for NT8. Please see errors for lines 311 and 312 in the attached screenshot.

    When I refer to Help section and Sample Codes it seems that NT8 should be including the StreamWiter.dll on list of references.

    I can not locate the StreamWriter.dll to add to the reference list. Would you kindly point me to either the location of the StreamWriter.dll or a solution for the above errors.

    Many Thanks.
    Attached Files

    #2
    Hello aligator,

    Thanks for writing in to our Support team.

    You need to reference the namespace that the StreamWriter class is contained in by including the following using statement in the Using declarations section:

    using System.IO;

    Please let me know if I may be of any further assistance.
    Alan S.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_AlanS View Post
      Hello aligator,

      Thanks for writing in to our Support team.

      You need to reference the namespace that the StreamWriter class is contained in by including the following using statement in the Using declarations section:

      using System.IO;

      Please let me know if I may be of any further assistance.
      Thank you AlanS, that did it.

      Cheers!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Mindset, Today, 06:46 AM
      0 responses
      8 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, Yesterday, 05:21 PM
      0 responses
      14 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      15 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      82 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      47 views
      0 likes
      Last Post PaulMohn  
      Working...
      X