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 DJ888, 04-16-2024, 06:09 PM
      6 responses
      18 views
      0 likes
      Last Post DJ888
      by DJ888
       
      Started by Jon17, Today, 04:33 PM
      0 responses
      1 view
      0 likes
      Last Post Jon17
      by Jon17
       
      Started by Javierw.ok, Today, 04:12 PM
      0 responses
      6 views
      0 likes
      Last Post Javierw.ok  
      Started by timmbbo, Today, 08:59 AM
      2 responses
      10 views
      0 likes
      Last Post bltdavid  
      Started by alifarahani, Today, 09:40 AM
      6 responses
      41 views
      0 likes
      Last Post alifarahani  
      Working...
      X