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 cmv727, Today, 05:38 AM
      0 responses
      9 views
      0 likes
      Last Post cmv727
      by cmv727
       
      Started by AlessioCianini12, Today, 01:38 AM
      0 responses
      29 views
      0 likes
      Last Post AlessioCianini12  
      Started by nandhumca, Yesterday, 11:54 PM
      0 responses
      29 views
      0 likes
      Last Post nandhumca  
      Started by nandhumca, Yesterday, 11:51 PM
      0 responses
      28 views
      0 likes
      Last Post nandhumca  
      Started by ezrollin, Yesterday, 11:48 PM
      2 responses
      29 views
      0 likes
      Last Post ezrollin  
      Working...
      X