Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Tons of errors related to "Custom.csproj" references removed

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

    Tons of errors related to "Custom.csproj" references removed

    Very perplexing situation. I've kept NT8 open for a the past couple days as i've been in the middle of working some ideas out. I went to install a 3rd party indicator, while it's still importing, I go to import another one (unfortunately before it was even done importing the first accidentally), it gives me an error saying you can't do this while you're already importing. I then go to import the 2nd one again and it says i've got compilation errors. I go to check out what's up and suddenly I have a TON of namespace issues. It's ridiculous... I check source control and I've got a couple files different, the offending issue to me seems to be "NinjaTrader.Custom.csproj" where I can see removed references to lots of these you see in the errors so I discard the changes to that file but it didn't fix the issue even if I resave the file. I go back to ninjascript editor and try recompiling and it still fails with the same thing. When I close and reopen NT8 it reloads that file "NinjaTrader.Custom.csproj" w/ the version with none of the references to my libraries...

    What are my options at this point... is this a known bug? Is it corrupt? I haven't manually done a backup in a while but I have things in source control...


    #2
    Hello btwaugh06,

    The compile errors you are seeing in the NinjaScript Editor indicate you are missing references to .DLL files in your installation or the .DLL files do not exist in your installation. Please follow the steps below to rectify the errors.
    1. From the Control Center, please select New--> NinjaScript Editor
    2. In the NinjaScript Editor, please right click and select References.
    3. In the Reference window look for the .DLL file reference in the compile error by name (in the error the file name has a .cs at the end). For example, BearXABCD.dll, BullXABCD.dll, NinZaDivergenceEngine_NT8.dll, etc
    4. If you see the .DLL file reference, please left click on the reference and select Remove
    5. If you removed the reference in the previous step or you do not see the .DLL file reference, then please select Add
    6. The Add option will open a File Explorer, from the path that was opened, please locate the .DLL file
    7. If you find the .DLL, please left click to select it and then select Open--> then select OK in the References window--> then right click in the NinjaScript Editor--> select Compile
    8. If you do not find the .DLL in the File Explorer, please close the File Explorer and References windows--> then navigate to Documents\NinjaTrader 8\bin\Custom on your PC--> and delete the .cs file referenced in the compile error--> then right click in the NinjaScript Editor--> Compile

    Comment


      #3
      Thank you so much. This resolved the issue!

      -B

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      93 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      48 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      31 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      34 views
      0 likes
      Last Post TheRealMorford  
      Started by Mindset, 02-28-2026, 06:16 AM
      0 responses
      70 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X