Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Overwriting codes in compiled assemblies

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

    Overwriting codes in compiled assemblies

    Hi, I'm facing following issue:

    I put Strategy1 into a compiled assembly CA1 and imported it on another computer, I used the strategy with no problems.
    I had then to send over other strategies so I put these into a compiled assembly with a different name CA2 and into that I also put Strategy1 again but with some changes in its inputs, I then imported CA2 on the second computer.
    My concern is that if I put Strategy1 on a chart I get the setup I originally exported as if it had not been overwritten by the new version in the new assembly. How should I have it done properly?
    Also can I simply delete the DLL of CA1 on the second computer to get the right version working or am I risking to transform it into a bomb?
    Thanks.
    Smodato

    #2
    Hi Smodato, I would suggest removing the standalone CA1 assembly and using both strategies from your updated assembly CA2. An overwriting / updating as with source files would not be possible via the compiled assembly version, here you would need to be mindful what you export and how it's grouped together.

    Comment


      #3
      Originally posted by NinjaTrader_Bertrand View Post
      Hi Smodato, I would suggest removing the standalone CA1 assembly and using both strategies from your updated assembly CA2. An overwriting / updating as with source files would not be possible via the compiled assembly version, here you would need to be mindful what you export and how it's grouped together.
      Thanks Bertrand,
      by "removing" you mean canceling the DLL file in the folder?

      Comment


        #4
        Either this, or use the supplied function under the File Menu > Utilities > Remove NinjaScript assembly.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        647 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        369 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        108 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        572 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        573 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X