Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Referencing Assemblies

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

    Referencing Assemblies

    Hello,

    I'm trying to reference the Entity Framework assemblies from within the NinjaTrader.Custom solution but I'm having an issue. (EF 6.1.3 for .NET 4.5)

    I've added a reference to the EF assemblies (both through VS.NET and the NT Script Editor). The issue is when I have code that uses the types in these EF assemblies I get 2 pop-up error dialog boxes (see attachment).

    I actually get these 2 pop-up error dialog boxes when I reference and use ANY external assembly for that matter. Just referencing (within NT Script Editor) doesn't cause the issue. Its when I reference and then actually USE the types within those references assemblies is when I experience this issue. Any ideas what is wrong?

    Thanks,
    Ed
    Attached Files

    #2
    Hello edchavez,

    Thank you for your post.

    Where are the external assemblies located on your PC? If they are not in the NinjaTrader 8\bin\Custom folder please place them there and change the references to the corrected directory.

    Comment


      #3
      Thanks Patrick. Moving the assemblies to the NinjaTrader 8\bin\Custom folder worked!

      Is there anyway to have NT point to assemblies in another directory?

      Best Regards,
      Ed

      Comment


        #4
        No. But there should be.

        Comment


          #5
          Hello Ed,

          NinjaTrader compiles as a project, so you have to include the needed libraries in the bin\Custom directory.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by CaptainJack, 05-29-2026, 05:09 AM
          0 responses
          48 views
          0 likes
          Last Post CaptainJack  
          Started by CaptainJack, 05-29-2026, 12:02 AM
          0 responses
          30 views
          0 likes
          Last Post CaptainJack  
          Started by charlesugo_1, 05-26-2026, 05:03 PM
          0 responses
          99 views
          0 likes
          Last Post charlesugo_1  
          Started by DannyP96, 05-18-2026, 02:38 PM
          1 response
          177 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 05-11-2026, 05:56 AM
          0 responses
          170 views
          0 likes
          Last Post CarlTrading  
          Working...
          X