Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Opening script in visual studio error

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

    Opening script in visual studio error

    Hi, what do you recommend for solving this issue? I receive an error when opening a script in visual studio, it says there is a mismatch between architecture.




    Thanks

    #2
    Hello brucelevy,

    Thank you for the post.

    The majority of errors/warnings you see listed in Visual Studio can safely be ignored, you will see specific red X errors when using incorrect syntax but other yellow exclamation point warnings generated are not likely going to matter when NinjaTrader compiles. If you see an actual error in the NinjaScript editor during a compile, that would be something you should be interested in solving.

    A warning is not the same as an error which would prevent a compile, this is just something VS noticed but does not require any attention on your part. These messages can safely be ignored, we generally suggest to click the warning button in visual studio to just hide warnings so it only lists actual errors. You can actually enable warnings in the NinjaScript editor as well to see various warnings about the code to be compiled, however, this will not prevent compiling.


    Please let me know if I may be of further assistance.

    Comment


      #3
      Hi brucelevy,

      If you still have issues with this, let me know and I will post how to get rid of all warnings.

      Wil

      Comment


        #4
        Hi brucelevy,

        There were some other posts referencing this issue so
        I posted my solution at

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        43 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        21 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        30 views
        1 like
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        50 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        41 views
        0 likes
        Last Post CarlTrading  
        Working...
        X