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

Adding and using a non-system C# package from NinjaScript Editor

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

    Adding and using a non-system C# package from NinjaScript Editor

    Hey there,

    May you please point me in the right direction to be able to add and use a new C# package, so that I can use it within the ninjascript editor?

    I tried opening a command prompt and adding a package via dotnet add package ___package_name_____

    but it fails "could not find any project".

    Do I need to specify a certain path for this "project" so that the new libraries become available for use within the ninjascript editor?

    Thank you kindly!









    #2
    NT doesn't deal with 'packages' per se, are you using NuGet?

    My understanding is you build or extract the DLLs you need
    and copy them directly to bin/Custom folder.

    Then right click inside the main editing window of NinjaScript editor,
    select "References..." menu item from context menu.

    Click on the 'Add' button and add the DLL files as references.

    The References menu item is briefly mentioned here.

    But the 'Add' button, sorry, I don't know where that is documented.

    Good luck!

    Comment


      #3
      hey bltdavid! thanks so much for chiming in! I will try that approach, your comment was very helpful and I appreciate it.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by alcorr247, Yesterday, 09:53 PM
      1 response
      37 views
      0 likes
      Last Post NinjaTrader_ChrisSch  
      Started by traderslab, Yesterday, 10:27 PM
      0 responses
      35 views
      0 likes
      Last Post traderslab  
      Started by jjanguda, Yesterday, 09:40 PM
      1 response
      41 views
      0 likes
      Last Post NinjaTrader_ChrisSch  
      Started by jeronymite, Yesterday, 07:15 PM
      0 responses
      60 views
      0 likes
      Last Post jeronymite  
      Started by RT001, Yesterday, 05:07 PM
      2 responses
      44 views
      0 likes
      Last Post RT001
      by RT001
       
      Working...
      X