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 AaronKoRn, Today, 09:49 PM
          0 responses
          6 views
          0 likes
          Last Post AaronKoRn  
          Started by carnitron, Today, 08:42 PM
          0 responses
          9 views
          0 likes
          Last Post carnitron  
          Started by strategist007, Today, 07:51 PM
          0 responses
          10 views
          0 likes
          Last Post strategist007  
          Started by StockTrader88, 03-06-2021, 08:58 AM
          44 responses
          3,976 views
          3 likes
          Last Post jhudas88  
          Started by rbeckmann05, Today, 06:48 PM
          0 responses
          9 views
          0 likes
          Last Post rbeckmann05  
          Working...
          X