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 CarlTrading, 03-31-2026, 09:41 PM
        1 response
        129 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        74 views
        1 like
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        116 views
        2 likes
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        110 views
        1 like
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        89 views
        0 likes
        Last Post CarlTrading  
        Working...
        X