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 Segwin, 05-07-2018, 02:15 PM
        14 responses
        1,788 views
        0 likes
        Last Post aligator  
        Started by Jimmyk, 01-26-2018, 05:19 AM
        6 responses
        837 views
        0 likes
        Last Post emuns
        by emuns
         
        Started by jxs_xrj, 01-12-2020, 09:49 AM
        6 responses
        3,293 views
        1 like
        Last Post jgualdronc  
        Started by Touch-Ups, Today, 10:36 AM
        0 responses
        13 views
        0 likes
        Last Post Touch-Ups  
        Started by geddyisodin, 04-25-2024, 05:20 AM
        11 responses
        63 views
        0 likes
        Last Post halgo_boulder  
        Working...
        X