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 Mindset, 04-21-2026, 06:46 AM
        0 responses
        98 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        141 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        68 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        125 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        77 views
        0 likes
        Last Post PaulMohn  
        Working...
        X