Announcement

Collapse
No announcement yet.

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,

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                0 responses
                578 views
                0 likes
                Last Post Geovanny Suaza  
                Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                0 responses
                334 views
                1 like
                Last Post Geovanny Suaza  
                Started by Mindset, 02-09-2026, 11:44 AM
                0 responses
                101 views
                0 likes
                Last Post Mindset
                by Mindset
                 
                Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                0 responses
                554 views
                1 like
                Last Post Geovanny Suaza  
                Started by RFrosty, 01-28-2026, 06:49 PM
                0 responses
                551 views
                1 like
                Last Post RFrosty
                by RFrosty
                 
                Working...
                X