Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Compile Error Code CS0006

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

    Compile Error Code CS0006

    Hello,
    when i compile I get a CS0006 error.
    MSDN error code :
    Metadata file 'dll_name' could not be found
    Can anyone help me with this.
    Thanks

    #2
    Hi Mickslash, can you please either take a screenshot of the exact error or post the exact text here so we can further diagnose this issue?
    AustinNinjaTrader Customer Service

    Comment


      #3
      I get this error message everytime I try to compile something
      Attached Files

      Comment


        #4
        Hello Mickslash,

        Most likely this points to incorrect references to required assemblies. This could happen if the Documents\NinjaTrader 7 points to an installation folder that's changed, or was previously used in 32 bit.

        You can correct these references using Right Click > References screen.

        If you are unsure how to proceed, please send a note to support 'at' ninjatrader 'dot' com Attn RyanM and I will help you resolve this with remote assistance.
        Ryan M.NinjaTrader Customer Service

        Comment


          #5
          Thanks, I got it to work by pointing to the right file location. I have another question, I am trying to back test a strategy but when I pick an instrument to back test the strategy screen opens but none of my strategies show up. Any ideas?
          Thanks

          Comment


            #6
            Glad to hear the reference issue is taken care of.

            For your strategies not showing up - Are there any messages on log tab of the control center? Errors calling Initialize() for any one strategy may prevent others from showing up.
            Ryan M.NinjaTrader Customer Service

            Comment


              #7
              Hi Ryan,

              I have the same problem, I have gone through to reference and added the .dll framework files that are missing but I still get the CS0006 code when I try to compile. Can yiou help me with remote assistance please.

              Thanks,

              Ryan

              Comment


                #8
                Ryan, can you please contact us directly at support at ninjatrader dot com with a good time to remote into your PC for taking a look?

                Thanks,
                BertrandNinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Brevo, Today, 01:45 AM
                0 responses
                6 views
                0 likes
                Last Post Brevo
                by Brevo
                 
                Started by aussugardefender, Today, 01:07 AM
                0 responses
                3 views
                0 likes
                Last Post aussugardefender  
                Started by pvincent, 06-23-2022, 12:53 PM
                14 responses
                242 views
                0 likes
                Last Post Nyman
                by Nyman
                 
                Started by TraderG23, 12-08-2023, 07:56 AM
                9 responses
                384 views
                1 like
                Last Post Gavini
                by Gavini
                 
                Started by oviejo, Today, 12:28 AM
                0 responses
                6 views
                0 likes
                Last Post oviejo
                by oviejo
                 
                Working...
                X