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 PaulMohn, Today, 12:36 PM
      1 response
      12 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by yertle, Yesterday, 08:38 AM
      8 responses
      36 views
      0 likes
      Last Post ryjoga
      by ryjoga
       
      Started by rdtdale, Today, 01:02 PM
      1 response
      5 views
      0 likes
      Last Post NinjaTrader_LuisH  
      Started by alifarahani, Today, 09:40 AM
      3 responses
      16 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by RookieTrader, Today, 09:37 AM
      4 responses
      19 views
      0 likes
      Last Post RookieTrader  
      Working...
      X