Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Using a C# class library in a script

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

    #16
    Thanks for your help, I'll take the time to examine my environment and report back.

    Comment


      #17
      Just to confirm: it seems that you have built the DLL inside Ninja, I was trying to reference a DLL built in VS and use it within a strategy.
      Is it something that cannot be done?
      Last edited by haimcn; 01-04-2024, 04:42 PM.

      Comment


        #18
        Hello haimcn,

        Exporting from NinjaTrader is what I was asking you to do in post # 6.

        It is possible to create custom project builds in visual studio, and some have done this, however it is outside of our support model to assist with.
        This thread will remain open for any community members that would like to offer insight into building dlls in visual studio, and then adding references to these in NinjaTrader.

        My suspicion would be the dll is not properly targeting C# 8, .NET 4.8, 64-bit.

        If it's just a set of classes for NinjaTrader, a workaround might be to export with NinjaTrader.
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        607 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        353 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        105 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        560 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        561 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X