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 andrewtrades, Today, 04:57 PM
      1 response
      5 views
      0 likes
      Last Post NinjaTrader_Manfred  
      Started by chbruno, Today, 04:10 PM
      0 responses
      3 views
      0 likes
      Last Post chbruno
      by chbruno
       
      Started by josh18955, 03-25-2023, 11:16 AM
      6 responses
      436 views
      0 likes
      Last Post Delerium  
      Started by FAQtrader, Today, 03:35 PM
      0 responses
      7 views
      0 likes
      Last Post FAQtrader  
      Started by rocketman7, Today, 09:41 AM
      5 responses
      19 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Working...
      X