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 NullPointStrategies, Today, 05:17 AM
        0 responses
        51 views
        0 likes
        Last Post NullPointStrategies  
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        128 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        69 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        42 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        46 views
        0 likes
        Last Post TheRealMorford  
        Working...
        X