Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Importing Assemblies Problem
Collapse
X
-
Importing Assemblies Problem
I need help with importing assemblies. I had several versions of strategies to update, but upon importing I kept getting the duplicate error. So we removed all assemblies and then tried to start importing the new versions, but now NT is still look for one of the old .dll assemblies and won't let us do anything. How can we get around this?Tags: None
-
Hi dancorcal,
If the import will results in programming errors to your NS environment, then NT won't bring it in and you'll see that message about duplicate methods.
The only way to identify the specific reasons for the failed import is to attempt to bring in the assembly manually, compile, and see the errors. We do not support manually extracting files like this but you can use the technique below:
Open the zip and extract all files to:
Documents\NinjaTrader 7\bin\custom
If the zip has an \Indicator subdirectory, those files will need to be extracted into bin\custom\indicator.
dlls need a reference as well, which you can add from the NinjaScript editor. Right Click > References > Click Add > Select the dll file to be referenced.
Then compile and you'll see the error messages that prevent an import.Ryan M.NinjaTrader Customer Service
-
I can see the error. It is looking for a .dll file for one of the assemblies that we removed. It no longer exists but NT still is looking for it. What it work to rename the ninjatrader.custom.dll and custom.xml to .old and the restart NT... let it recreate those files new so that it is not still looking for .dlls that were removed?
Comment
-
You may be be able to remove the bad reference then by right clicking in editor > references > Highlight the reference and click delete
It's possible the reference is actually included in the info.xml file related to a specific assembly. This type of issue will have to be resolved with the export file and not something you can fix in your local NT.Last edited by NinjaTrader_RyanM1; 09-12-2011, 08:31 AM.Ryan M.NinjaTrader Customer Service
Comment
-
I think I've confused things. Let me start over.
Due to some problems we were having importing some assemblies we removed all assemblies on the machine to get a clean setup and then restarted the machine, and reopened NT. Now the symptoms are:
There are no assemblies now on the machine as expected, but if we go to "remove ninjascript assemblies" it says "removed failed".
If we open an existing strategy or indicator on the computer we get the error that it can't find a particular ouroldcustomstrategyname.dll that was a .dll for one of the assemblies we removed.
So it seems even though we removed all assemblies (or attempted to), some residue of one of them is still being looked for. So how do we fix this?
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
635 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
364 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
106 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
567 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
571 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment