How do you add a reference to a System namespaces - futures io
futures io futures trading



How do you add a reference to a System namespaces


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one upshon with 2 posts (1 thanks)
    2. looks_two Big Mike with 1 posts (0 thanks)
    3. looks_3 sunpost with 1 posts (0 thanks)
    4. looks_4 jackyma with 1 posts (0 thanks)
    1. trending_up 2,615 views
    2. thumb_up 1 thanks given
    3. group 2 followers
    1. forum 4 posts
    2. attach_file 0 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

 
Search this Thread
 

How do you add a reference to a System namespaces

(login for full post details)
  #1 (permalink)
New Zealand
 
Experience: Advanced
Platform: Multicharts, TradeNav
Trading: Futures
 
Posts: 6 since Dec 2010
Thanks: 3 given, 2 received

Hi

How do you add a reference to a System namespaces?

I need to access to objects in System.Data.dll

As System.Data is in the GAC I dont want to reference the dll file directly, C:\Windows\Microsoft.NET\assembly\GAC_32\System.Da ta\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll but rather use the instance in the GAC.

The Add references dialog box does not give me an option to to access the GAC, I have tried browsing to C:\Windows\assembly where you can see contents of GAC but dialog does not allow me to add.

Is there a file that I need to edit manually, as I see in the reference dialog there are 5 System Assemblies referenced.

Thanks

Mike

Started this thread Reply With Quote

Can you help answer these questions
from other members on futures io?
Cross border fund flows / fx correlations
Treasury Notes and Bonds
Where can I find Cost to Trade and Book Depth info?
Emini and Emicro Index
Help Needed: TOS Options Chain IV & IMPL MOVE Calcul …
ThinkOrSwim
Indicators for pair trading MES and M2K
Platforms and Indicators
Webinar: Finding your own way in trading w/Adam Grimes
The Elite Circle
 
Best Threads (Most Thanked)
in the last 7 days on futures io
Battlestations: Show us your trading desks!
137 thanks
Want your NinjaTrader indicator created, free?
32 thanks
Big Mike in Ecuador
30 thanks
Saturday Morning Market Replay!
20 thanks
Selling Options on Futures?
19 thanks
 
(login for full post details)
  #3 (permalink)
New Zealand
 
Experience: Advanced
Platform: Multicharts, TradeNav
Trading: Futures
 
Posts: 6 since Dec 2010
Thanks: 3 given, 2 received


I have figured it out.

I have edited the Config.xml file in My Documents\NinjaTrader 7

Add an element to the <References> tag as below.

<References>
<ArrayOfString>
<string>System.dll</string>
<string>System.Core.dll</string>
<string>System.Data.dll</string>
<string>System.Drawing.dll</string>
<string>System.Windows.Forms.dll</string>
<string>System.XML.dll</string>
<string>C:\Program Files (x86)\NinjaTrader 7\bin\NinjaTrader.Core.dll</string>
<string>C:\Program Files (x86)\NinjaTrader 7\bin\WilsonORMapper.dll</string>
<string>D:\\My Documents\NinjaTrader 7\bin\Custom\NinjaTrader.Vendor.dll</string>
</ArrayOfString>
</References>

Started this thread Reply With Quote
The following user says Thank You to upshon for this post:
 
(login for full post details)
  #4 (permalink)
Pennsylvania, USA
 
Experience: Intermediate
Platform: NinjaTrader
Broker: IB/Kinetick
Trading: Forex
 
sunpost's Avatar
 
Posts: 60 since Aug 2010
Thanks: 202 given, 42 received

I backup and modify the \Documents\NinjaTrader 7\Config.xml file. In the <References> section add <string>System.Data.dll</string> Restart NT and the assembly should be available.

Reply With Quote
 
(login for full post details)
  #5 (permalink)
Hong Kong, China
 
 
Posts: 3 since Nov 2013
Thanks: 0 given, 0 received

Is it possible to include such modification (on Config.xml) in the export package, such that I don't need to teach the users to hack into Config.xml manually?

Thanks,
Jacky

Reply With Quote


futures io Trading Community Platforms and Indicators NinjaTrader > How do you add a reference to a System namespaces


Last Updated on February 3, 2014


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
 

Battlestations! Show us your trading desk - $1,500 in prizes!

March
 

Importance of Finding Your Own Way w/Adam Grimes

Elite only
 

Journal Challenge w/Jigsaw

April
     



Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts