Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Unable to retrieve type info for Microsoft.ML dll

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

    Unable to retrieve type info for Microsoft.ML dll

    When I add Microsoft.ML dlls to NT Custom folder I get popup error messages like: “Unable to retrieve type info from ‘NinjaTrader.NinjaScript.AddOnBase’ from assembly ‘…’: Unable to load one or more of the requested types.” for the following dlls:

    Microsoft.ML.StandardTrainers.dll
    Microsoft.ML.LightGbm.dll
    Microsoft.ML.Data.dll
    Microsoft.ML.FastTree.dll

    I tried to copy from VS project Release dir, I tried to use JetBrains dotPeek to copy all dependencies but nothing helps.

    Thanks,
    AiTrader

    #2
    Hi AiTrading, thanks for posting.

    The NinjaScript framework targets .NET 4.8 and ML.Net uses packages outside of .Net 4.8 desktop (namely .net core/standard). We have a feature request SFT-3124 requesting upgrading the target version to .net core/standard. I will add a vote to this for you.

    Kind regards.

    Comment


      #3
      +1

      Please add my vote.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      43 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      20 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      30 views
      1 like
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      47 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      38 views
      0 likes
      Last Post CarlTrading  
      Working...
      X