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

NT8: Manually Uninstall Package

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

    NT8: Manually Uninstall Package

    I installed a package from a vendor & afterword I can't compile anything. The error refers to lines of code in vendor's package but it has nothing to do with my indicator I'm trying to compile.

    The vendor install package was a .exe that had to be installed when ninja was shutdown.
    Because there's a compile error I can't use "Remove NinjaScript Assembly"
    I tried deleting the vendor .cs & .dll files but that didn't help.

    Is there anyway to manually uninstall NinjaScript files?

    #2
    Originally posted by saturntd View Post
    I installed a package from a vendor & afterword I can't compile anything. The error refers to lines of code in vendor's package but it has nothing to do with my indicator I'm trying to compile.

    The vendor install package was a .exe that had to be installed when ninja was shutdown.
    Because there's a compile error I can't use "Remove NinjaScript Assembly"
    I tried deleting the vendor .cs & .dll files but that didn't help.


    Is there anyway to manually uninstall NinjaScript files?
    --Option 1--
    Uninstall NinjaTrader 8 completely.

    Rename "My Documents/NinjaTrader 8" to "My Documents/NT8.Orig"

    Download and reinstall NinjaTrader 8.

    --Option 2--
    Exit NinjaTrader.

    Edit the Config.xml file.
    (Make a backup somewhere first)

    Search for section <References>.

    If the offending DLL(s) are in this section, delete those lines.

    Delete all vendor files anywhere inside "NinjaTrader 8" folder as well.

    Restart NinjaTrader.

    Good luck!

    Comment


      #3
      Hello bltdavid,

      Thank you for your post.

      Glad to assist. Generally moving or deleting the .CS file accomplishes removing the indicator. To test, please follow the instructions below to see where the errors are coming from after compiling the indicator. This will allow you to debug the indicator/strategy or remove it from your PC. Regarding the error when compiling only one indicator, NinjaTrader compiles all indicators and strategies - not just one. This is done to give you the highest runtime performance possible.


      Open NinjaTrader
      From the Control Center select the New menu--> select NinjaScript Editor
      Double click on the Indicators folder--> then double click on any of the indicators
      Once the indicator code is in view right click in the window and select Compile to compile all NinjaScript objects
      At the bottom of the NinjaScript Editor window, a new section will appear where you can find the error locations
      You can exclude the file referenced in the editor by double clicking on the appropriate object type on the right of the NinjaScript Editor window. This will expand the object type folder. You can then select the file with a left click--> right click on the object--> then select Open to begin debugging the file, Exclude From Compilation, or Remove to delete the file.

      If you are unsure as to what the error is indicating, please post a screenshot of the NinjaScript File column and Error column fully visible (not to be confused with the Code column)

      We have also collected more comprehensive steps for resolving NinjaScript programming errors in this tip in our Help Guide:

      https://ninjatrader.com/support/help...jascript_p.htm

      Please let us know if we may be of further assistance.
      Last edited by NinjaTrader_EricB; 08-30-2018, 11:18 PM.
      Eric B.NinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by trilliantrader, Today, 08:16 AM
      2 responses
      6 views
      0 likes
      Last Post trilliantrader  
      Started by samish18, Today, 08:31 AM
      1 response
      1 view
      0 likes
      Last Post NinjaTrader_Clayton  
      Started by Creamers, 09-08-2023, 10:26 AM
      6 responses
      157 views
      0 likes
      Last Post JonyGurt  
      Started by funk10101, Today, 08:14 AM
      1 response
      2 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by bill2023, Yesterday, 08:51 AM
      3 responses
      22 views
      0 likes
      Last Post bltdavid  
      Working...
      X