Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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.
    JesseNinjaTrader Customer Service

    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 rocketman7, Today, 02:12 AM
        7 responses
        31 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by guillembm, Yesterday, 11:25 AM
        3 responses
        16 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by junkone, 04-21-2024, 07:17 AM
        10 responses
        149 views
        0 likes
        Last Post NinjaTrader_BrandonH  
        Started by tsantospinto, 04-12-2024, 07:04 PM
        6 responses
        101 views
        0 likes
        Last Post tsantospinto  
        Started by trilliantrader, 04-18-2024, 08:16 AM
        7 responses
        28 views
        0 likes
        Last Post NinjaTrader_BrandonH  
        Working...
        X