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 fafafdenis, Today, 04:56 PM
      1 response
      5 views
      0 likes
      Last Post NinjaTrader_EricB  
      Started by pjsmith, 07-18-2019, 04:21 AM
      7 responses
      248 views
      0 likes
      Last Post aligator  
      Started by ark321, Today, 05:12 PM
      0 responses
      8 views
      0 likes
      Last Post ark321
      by ark321
       
      Started by futurenow, Today, 04:49 PM
      0 responses
      9 views
      0 likes
      Last Post futurenow  
      Started by ofer1964spivak, Today, 04:27 PM
      0 responses
      5 views
      0 likes
      Last Post ofer1964spivak  
      Working...
      X