Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Unhandled exception when load an assembly

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

    Unhandled exception when load an assembly

    Hello, im trying to incorporate to an existing strategy mqtt protocol, ive added and when I compile it, it seems to be ok, but when I enable the strategy a black screen popup saying that cant find assembly.
    Iv looked for it and seems to be there in the ..\Documents\NinjaTrader 8\bin\Custom\packages\M2Mqtt.4.3.0.0 directory.
    Can anybody telll me the problem?
    Thanks
    Last edited by espacioint; 11-26-2023, 03:50 PM.

    #2
    Hello espacioint,

    Was this imported using the proper steps in Tools -> Import -> NinjaScript Addon?

    If so, this might indicate an issue with the export. Is this a script you have created or one that you have obtained from a 3rd party?
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      NinjaTrader_ChelseaB Customer appears to be referring to a NuGet package https://www.nuget.org/packages/M2Mqtt/.
      Bruce DeVault
      QuantKey Trading Vendor Services
      NinjaTrader Ecosystem Vendor - QuantKey

      Comment


        #4
        Hello Bruce,

        Thanks for that info, that helps.

        espacioint,

        If this is an assembly from NuGet, this must target .NET 4.8.

        Place the file in Documents\NinjaTrader 8\bin\Custom (and not in a subfolder), then add a reference from the NinjaScript Editor.

        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          Thanks for your help.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Mindset, 04-21-2026, 06:46 AM
          0 responses
          87 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by M4ndoo, 04-20-2026, 05:21 PM
          0 responses
          128 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by M4ndoo, 04-19-2026, 05:54 PM
          0 responses
          65 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by cmoran13, 04-16-2026, 01:02 PM
          0 responses
          117 views
          0 likes
          Last Post cmoran13  
          Started by PaulMohn, 04-10-2026, 11:11 AM
          0 responses
          67 views
          0 likes
          Last Post PaulMohn  
          Working...
          X