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 CarlTrading, 03-31-2026, 09:41 PM
                1 response
                152 views
                1 like
                Last Post NinjaTrader_ChelseaB  
                Started by CarlTrading, 04-01-2026, 02:41 AM
                0 responses
                89 views
                1 like
                Last Post CarlTrading  
                Started by CaptainJack, 03-31-2026, 11:44 PM
                0 responses
                131 views
                2 likes
                Last Post CaptainJack  
                Started by CarlTrading, 03-30-2026, 11:51 AM
                0 responses
                127 views
                1 like
                Last Post CarlTrading  
                Started by CarlTrading, 03-30-2026, 11:48 AM
                0 responses
                107 views
                0 likes
                Last Post CarlTrading  
                Working...
                X