Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NinjaTrader Export Claims I'm missing an Assembly Reference

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

    NinjaTrader Export Claims I'm missing an Assembly Reference

    Hi

    I have some NinjaTrader indicators that call external DLLs.

    These indicators compile and run with no issues.

    When I try to do an export, it claims I am missing an assembly reference.

    Here's how I export (Just like NT7.0)



    Note that I am not using the protection. I have my own.

    When I do the export it generates log messages.....

    2015-06-22 10:33:18:376|2|4|Error compiling export assembly: g:\Documents\NinjaTrader 8\bin\Custom\Indicators\JT_v5_DepthSales_Live.cs(4 8,7) : error CS0246: The type or namespace name 'JigsawTrading' could not be found (are you missing a using directive or an assembly reference?)

    2015-06-22 10:33:18:376|2|4|Error compiling export assembly: g:\Documents\NinjaTrader 8\bin\Custom\Indicators\JT_v5_DepthSales_Live.cs(5 6,53) : error CS0246: The type or namespace name 'IIJTWindowControl' could not be found (are you missing a using directive or an assembly reference?)

    As you can see - I have the relevant references defined and my software compiles & runs fine. It's only the import complaining.



    I did take a look at the "References" section of the export (although I can't find details in the manuals on it, I thought it might be related) but it comes up empty:



    Any thoughts?

    Cheers

    Pete
    Last edited by DionysusToast; 06-22-2015, 09:52 AM.

    #2
    Hello Pete,

    Thank you for your post.

    Is this your own custom protection or a third party's?

    Comment


      #3
      I use a 3rd party - but that's not the issue here because this is all failing before I even get to the point that I to protect my code.

      So my steps are 1 - export from Ninja to DLL, 2 - protect code

      Step 1 is failing

      All I am trying to do here is an export to a dll without protection. So pretty standard stuff and in line with what I do with Ninja 7.

      Comment


        #4
        Anything I can do to help you guys with this?

        I'd like to get my software released to some of your other beta testers but this one is a show-stopper for me.

        Comment


          #5
          Hello DionysusToast,

          Thanks for your reply.

          At this time no further action is needed on your end. Additional testing is being done on a system with a secondary drive where we can relocate the NinjaTrader folder to see that we can replicate this. We will update you as more information is available.
          BrandonNinjaTrader Customer Service

          Comment


            #6
            I don't think that's going to help.

            In this case, the referenced dlls are in the "My Documents" folder on my PC along with all the other NinjaTrader 8 folders

            I just keep my My Documents folder on a separate drive.



            I have tested this on another machine, with the My Documents folder on the C:\ drive & it does exactly the same thing.

            Comment


              #7
              Hello Pete,

              Thank you for your response.

              Where are "IIJTWindowControl" and "JigsawTrading" being defined? Are they defined in the files you are attempting to export?

              Comment


                #8
                Check your PM - I don't want to post snippets of my code here.

                Cheers

                Pete

                Comment


                  #9
                  Hello Pete,

                  Thank you for providing the steps you took to produce this error.

                  I created a dummy assembly and used the steps you had to reproduce the error message upon export. I have submitted this item to development for review.

                  I did not test this on an external drive but based on the fact that you have NT installed on that drive this should be basically the same test I was just using C:\ instead of your G:\.

                  I look forward to being of further assistance.
                  JesseNinjaTrader Customer Service

                  Comment


                    #10
                    That's great Jesse - glad to hear you have reproduced it your side!

                    Comment


                      #11
                      Yes Please....... Mr Peter Davies.....

                      Ready whenever....no pressure.....lol

                      Ronald J Cutaia Jr

                      Comment


                        #12
                        Originally posted by Blash View Post
                        Yes Please....... Mr Peter Davies.....

                        Ready whenever....no pressure.....lol

                        Ronald J Cutaia Jr
                        lol Ron - I am guessing you don't even know how famous you are in the world of platforms & brokerages.

                        Anyway - they have found it now - which is 90% of the battle.

                        Rest assured your appearance here has probably kicked in some major overtime @ Ninja

                        Comment


                          #13
                          Nicely done guys.

                          I just got beta 3 & have managed to do the export as well as push it through my encryption software, create an installer and install it on a fresh machine with NT8 beta 3.

                          Looks good.

                          Ron - your copy is on Skype....

                          Comment


                            #14
                            Originally posted by DionysusToast View Post
                            Nicely done guys.

                            I just got beta 3 & have managed to do the export as well as push it through my encryption software, create an installer and install it on a fresh machine with NT8 beta 3.

                            Looks good.

                            Ron - your copy is on Skype....
                            Thanks for following up and letting us know you were able to complete the export in the new release. Happy obfuscating!
                            MatthewNinjaTrader Product Management

                            Comment

                            Latest Posts

                            Collapse

                            Topics Statistics Last Post
                            Started by cmtjoancolmenero, Yesterday, 03:58 PM
                            11 responses
                            39 views
                            0 likes
                            Last Post cmtjoancolmenero  
                            Started by FrazMann, Today, 11:21 AM
                            0 responses
                            3 views
                            0 likes
                            Last Post FrazMann  
                            Started by geddyisodin, Yesterday, 05:20 AM
                            8 responses
                            52 views
                            0 likes
                            Last Post NinjaTrader_Gaby  
                            Started by DayTradingDEMON, Today, 09:28 AM
                            4 responses
                            26 views
                            0 likes
                            Last Post DayTradingDEMON  
                            Started by George21, Today, 10:07 AM
                            1 response
                            22 views
                            0 likes
                            Last Post NinjaTrader_ChristopherJ  
                            Working...
                            X