Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NT7 to NT8 Port breaks prior System.Messaging function

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

    NT7 to NT8 Port breaks prior System.Messaging function

    Hello NT,

    I"m porting from NT7 to NT8.

    In NT7 I'm using this

    using System.Messaging to bring in MSMQ functionality.

    In NT8 I do the same, and the messages are output correctly into the MSMQ queue.

    However the client that is reading this Queue cannot de-serialize the message...my guess is that NT8 is using a different .NET library for System.Messages (4.5?) and the client and my NT7 system probably is using .NET 3.5

    Added to this is that I'm now on Windows 10 and also have NT7 installed..

    At this time I need to keep NT7 and the MSMQ Client (which reads the messages) to the current version of .NET and to have my NT8 port be backward compatible with that.

    Any suggestions?

    Thx.

    #2
    Hello llanqui,

    Thanks for your post.

    NinjaTrader 8 uses .NET 4.8 as of version 8.0.23.0 ​as seen in the Release Notes section of the help guide page linked below.

    Release Notes: https://ninjatrader.com/support/help...8/8_0_23_2.htm

    This is the .NET version that should be used when developing custom NinjaScripts in NinjaTrader 8.

    Note that System.Messaging and the MSMQ Client are not documented in the NinjaTrader 8 help guide and this would go beyond the support we would be able to provide in the Support department. That said, this forum thread will be open to other community members to share their insights on this topic.

    Let me know if I may assist further.
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment


      #3
      Thanks Brandon....it seems the problem is not MSMQ itself,but there is now a conflict with the XML serializtion...another learning curve.... :-)

      Comment


        #4
        Hello llanqui,

        Thanks for your note.

        XML serialization errors could be caused by not adding XmlIgnore on the public property in your script that is causing the error.

        XmlIgnoreAttribute: https://ninjatrader.com/support/help...tsub=XmlIgnore

        Please let me know if you have further questions.
        <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

        Comment


          #5
          will check that...thank you...

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          633 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          364 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          105 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          567 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          568 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X