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 CarlTrading, 03-31-2026, 09:41 PM
        1 response
        47 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        23 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        33 views
        1 like
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        51 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        42 views
        0 likes
        Last Post CarlTrading  
        Working...
        X