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

export without additional references

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

    export without additional references

    I have exported an indicator compiled assembly of my source file.

    I get one warning message about my library can only be imported with other assembly(s).

    I see the AdditionalReferences.txt file inside the zip file.

    But my indicator doesn't depend on the other assemblies dll files.

    How can I export it without the other libraries?


    Best regards
    David

    #2
    Hello David,

    Thank you for your post.

    This is due to any assemblies in your installation that you exported from. you can create a development installation to export from instead of your own build that you use for other third party assemblies.

    To create a new installation shut down NinjaTrader, uninstall NinjaTrader through the Start Menu > Control Panel > Programs and Features, then rename the NinjaTrader 7 folder in your (My) Documents folder to something like NinjaTrader 7.OLD.

    Then reinstall NinjaTrader and start up NinjaTrader, this will create a new installation and will ask you for your License Key. Export your NinjaScript files from the new installation. Switch between these two by shutting down NinjaTrader and renaming the NinjaTrader 7 folder to something else and the other directory back to NinjaTrader 7.

    Please let me know if I may be of further assistance.

    Comment


      #3
      Should I copy my My documents/NinjaTrader 7 folder in other folder before to uninstall NinjaTrader?

      I'm not sure If I can lost any indicator/workspaces/.. after the uninstall.

      Best Regards
      David

      Comment


        #4
        Hello David,

        Thank you for your response.

        As long as you rename the original (My) Documents\NinjaTrader 7 folder after the uninstall you will not lose your files or settings.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by samish18, 04-17-2024, 08:57 AM
        16 responses
        55 views
        0 likes
        Last Post samish18  
        Started by arvidvanstaey, Today, 02:19 PM
        3 responses
        9 views
        0 likes
        Last Post NinjaTrader_Zachary  
        Started by jordanq2, Today, 03:10 PM
        2 responses
        8 views
        0 likes
        Last Post jordanq2  
        Started by traderqz, Today, 12:06 AM
        10 responses
        18 views
        0 likes
        Last Post traderqz  
        Started by algospoke, 04-17-2024, 06:40 PM
        5 responses
        47 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Working...
        X