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 Spiderbird, Today, 12:15 PM
        2 responses
        10 views
        0 likes
        Last Post Spiderbird  
        Started by WHICKED, Today, 12:45 PM
        0 responses
        3 views
        0 likes
        Last Post WHICKED
        by WHICKED
         
        Started by FrazMann, Today, 11:21 AM
        2 responses
        6 views
        0 likes
        Last Post NinjaTrader_ChristopherJ  
        Started by rjbtrade1, 11-30-2023, 04:38 PM
        2 responses
        80 views
        0 likes
        Last Post DavidHP
        by DavidHP
         
        Started by lorem, Yesterday, 09:18 AM
        5 responses
        18 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Working...
        X