Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to Fix a Dependency

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

    How to Fix a Dependency

    Dear Support,

    Issue: I am getting the following CS0006 error and prevented from compiling. Also, while all my custom indicators and add-ons show on the editor list, they are not missing on the chart list of indicators, only the default indicators are listed.

    Background: I transferred a third-party indicator from my old computer to this new computer and I assume a related .dll file was not imported.

    Actions: After receiving this error I removed the third-party indicator so to remove the dependency creating this error. However, the error continues to show and all other custom indicators and add-ons are not present on the chart.

    The Error CS0006 (attached screenshot) does not provide any information about the location of the dependency. I have removed the third party indicator and the .dll is no longer available to re-install. Also, the trace and log information do not indicate how or where this error is generated.

    How do I identify and remove this dependency?

    Many thanks.
    Attached Files

    #2
    Hi aligator, thanks for posting.

    This means there is a reference pointing to a dll file that does not exist. Open a New>NinjaScript Editor>Right Click>References>Remove the reference mentioned in the error message.

    Kind regards,
    -ChrisL

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    10 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    81 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    46 views
    0 likes
    Last Post PaulMohn  
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    169 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    101 views
    1 like
    Last Post CarlTrading  
    Working...
    X