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 jclose, Yesterday, 09:37 PM
          1 response
          11 views
          0 likes
          Last Post NinjaTrader_Gaby  
          Started by firefoxforum12, Yesterday, 08:53 PM
          1 response
          14 views
          0 likes
          Last Post NinjaTrader_BrandonH  
          Started by kmunroe478, Yesterday, 05:39 PM
          2 responses
          15 views
          0 likes
          Last Post NinjaTrader_Jesse  
          Started by kevinenergy, 02-17-2023, 12:42 PM
          115 responses
          2,700 views
          1 like
          Last Post kevinenergy  
          Started by prdecast, Today, 06:07 AM
          1 response
          5 views
          0 likes
          Last Post NinjaTrader_LuisH  
          Working...
          X