![]() |
This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com
|
|||||||
| Strategy Development Support for the development of custom automated trading strategies using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: May 2007
Location: , ,
Posts: 102
Thanks: 0
Thanked 0 times in 0 posts
|
I have several assemblies installed in my NinjaTrader. Now when I write new NinjaScript and try to export it, it says the user on the other end must have all of these assemblies as well, even though I do not reference these assemblies in the code I am exporting. I've tried to remove the reference to the other assemblies by right clicking in the code, however it then generates errors when I try to compile the code. Additionally, I cannot remove any of these assemblies because it says I have a NinjaScript file referencing them (which I do not). How can I fix this?
|
|
|
|
|
|
#2 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
|
toptrader,
Please try going to File->Utiltiies->Remove NinjaScript assembly.
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: May 2007
Location: , ,
Posts: 102
Thanks: 0
Thanked 0 times in 0 posts
|
When I try this I get an error message "There is a file which references an indicator contained in this assembly. You must remove this dependency before removing this assembly." The problem is that I have nothing referencing this assembly as I've deleted everything that was.
|
|
|
|
|
|
#4 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
|
toptrader,
Unfortunately to repair this you may need to try a reinstall of NinjaTrader. Try deleting the My Documents\NinjaTrader 6.5 folder after you uninstall and be sure to back up anything you want to keep beforehand.
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#5 |
|
Senior Member
Join Date: Jul 2008
Location: East Rochester, NY
Posts: 899
Thanks: 0
Thanked 19 times in 17 posts
|
This is a problem many have. I have resorted to sending the .cs files to my laptop and dropping them in NT there one at a time (with no other indicators but stock) and exporting/compiling one at a time. That is the only way to be sure this, in my opinion, horrible bug does not happen. I sure hope NT7 will have a fix for this.
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Removing An Assembly | SystemTrading | Miscellaneous Support | 3 | 03-15-2009 11:36 AM |
| Web References | Tomas | General Programming | 2 | 02-26-2009 08:33 AM |
| Programming references | bobajob78 | General Programming | 1 | 02-11-2008 03:32 PM |
| Importing Assembly | CashCache | Strategy Development | 9 | 02-01-2008 09:37 AM |
| References | guym | Indicator Development | 3 | 12-01-2006 03:25 AM |