NinjaTrader Support Forum  
X

Attention!

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


Go Back   NinjaTrader Support Forum > Application Technical Support > Miscellaneous Support

Miscellaneous Support Miscellaneous support issues.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 09-06-2010, 09:03 PM   #1
SammyC
Member
 
Join Date: Apr 2010
Posts: 49
Thanks: 0
Thanked 0 times in 0 posts
Default NT65 import error on compiled assembly question

HI

I have created a few custom indicators and compiled them into an assembly.
Trying to move these indicators to a second NT 65 computer to test install etc.
However, I get an import error.

Import Failed. The existing Ninjascript file "MyDynamicPivots" contains duplicate method names ......
What is interesting is that this indicator is no longer in my indicator folder or custom folder.
It had been deleted long ago.

Been reading in the forum that i may possibly have duplicate method name.
I followed the instructions to manually compile the indicators on the second computer and then to add the dll (compiled assembly) to the custom folder. I then shut down ninja and restart.
I opened one of the indicators i previously compiled; right clicked references and added the dll and tried to compile.

I get the following message for @ADL.cs file.
The Type 'NinjaTrader.Indicator.MyDynamicPivots' is defined in an assembly that is not referenced. You must add a reference to assembly 'DynPivotsWithSession, Version 1.0.0.1 Culture-neutral, publickeytoken=null'

I am not certain how to proceed.
MyDynamicPivots does not exist and either does DynPivotsWithSession as an assembly.

there are no changes i can see in @ADL.cs file and the indicators are no longer on my computer.
I also did a search within the .cs files in the inidcator folder to see if the inidcators were named differently... no trace of them anymore.
Did something not clean itself properly on the delete way back when?
Not certain how to proceed. Please advise....
Thank you advance
Sammy
SammyC is offline  
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
"Import failed" after removing an assembly shodson Miscellaneous Support 12 06-03-2010 12:18 PM
Error exporting compiled assembly with NT7 ricway Version 7 Beta General Questions & Bug Reports 2 01-26-2010 11:56 AM
Import compiled assembly ryker Miscellaneous Support 7 05-16-2009 08:55 AM
Error importing compiled indicator eDanny Indicator Development 14 04-03-2009 01:39 PM
File Assembly and Dependencies Error uptick Miscellaneous Support 4 09-10-2008 01:29 PM


All times are GMT -6. The time now is 04:23 PM.