Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Problem importing upgrade assembly

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

    Problem importing upgrade assembly

    I have a user that is trying to import a new assembly that I generated. The file is protected, and has a version specified when it is exported (version is higher than previous version). There are no errors when it is exported.

    The user imports the file with no errors, but it does not take (no behavior changes). The only way for them to get the file to take, is to remove the assembly, then reimport, then restart Ninja. What would cause this behavior?

    #2
    Hi aslane,

    If your assembly uses anything outside the indicator/strategy namespace, then an NT restart could be required before those items are available. The custom assembly (NinjaTrader.Custom.dll) is only rebuilt at NT startup and not during import.
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      What do you mean by outside of namespace? I do read files etc, so it does use other .net code, but does not reference other dlls or anything like that. Would that count as something requiring a restart?

      Also, should an assembly like this only be imported when charts are closed (nothing referencing the assembly)?

      Comment


        #4
        You should not have to worry about open charts. Pretty much everything outside of indicator/strategy could require a platform restart. I'm happy to take a look at your assembly if you want to confirm whether the restart is expected or not. Send to support 'at' ninjatrader 'dot' com, Attn: RyanM.
        Ryan M.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by georgeinharmony, Today, 12:06 AM
        3 responses
        13 views
        0 likes
        Last Post georgeinharmony  
        Started by Prisalice, Yesterday, 07:07 AM
        2 responses
        16 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by Futurestrader00, Yesterday, 12:04 AM
        1 response
        10 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by Blairski, Yesterday, 11:26 PM
        0 responses
        10 views
        0 likes
        Last Post Blairski  
        Started by aligator, Yesterday, 02:38 PM
        0 responses
        10 views
        0 likes
        Last Post aligator  
        Working...
        X