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 bortz, 11-06-2023, 08:04 AM
          47 responses
          1,607 views
          0 likes
          Last Post aligator  
          Started by jaybedreamin, Today, 05:56 PM
          0 responses
          9 views
          0 likes
          Last Post jaybedreamin  
          Started by DJ888, 04-16-2024, 06:09 PM
          6 responses
          19 views
          0 likes
          Last Post DJ888
          by DJ888
           
          Started by Jon17, Today, 04:33 PM
          0 responses
          6 views
          0 likes
          Last Post Jon17
          by Jon17
           
          Started by Javierw.ok, Today, 04:12 PM
          0 responses
          15 views
          0 likes
          Last Post Javierw.ok  
          Working...
          X