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

3rd Party Dll Intellisense failure in NinjaScript

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

    3rd Party Dll Intellisense failure in NinjaScript

    I have compiled a simple DLL in VS2008 for .Net 2.0 in C#
    When i add a reference to it in NT in a strategy NinjaScript - it adds fine.

    It doesnt show up in the NinjaScript intellisense though.
    However it will compile.

    I can instantiate the class and use its members.

    Do i have to regsister it in the GAC?

    namespace NinjaTrader.MT
    {
    publicclassLogging
    {
    privateString logName = "";
    publicString LogName
    {
    get
    {
    return logName;
    }
    set { logName = value; }
    }
    }
    }

    #2
    Official reply: Unfortunately intellisense on 3rd party assemblies is not supported.

    However here is a hint: may be you could get it working by having a XML documents file right next to your assembly. Just like NinjaTrader.Custom.dll and NinjaTrader.Custom.xml in <my documents>/NinjaTrader6.5/bin/Custom.

    Also: Please see the comments in the indicator/strategy samples. You should go with the namespace NinjaTrader.Indicator or NinjaTrader.Startegy, anything else may or may not work and would be beyond what we are able to provide support for.

    Comment


      #3
      Thats fine - itellisense is not an issue - just neded to clarify!!! :-)
      i can alwasy use xml as you say - that can be generated by VS2008 documentation


      or create a test harness and copy it iin form there everything will be fine!

      Originally posted by NinjaTrader_Dierk View Post
      Official reply: Unfortunately intellisense on 3rd party assemblies is not supported.

      However here is a hint: may be you could get it working by having a XML documents file right next to your assembly. Just like NinjaTrader.Custom.dll and NinjaTrader.Custom.xml in <my documents>/NinjaTrader6.5/bin/Custom.

      Also: Please see the comments in the indicator/strategy samples. You should go with the namespace NinjaTrader.Indicator or NinjaTrader.Startegy, anything else may or may not work and would be beyond what we are able to provide support for.
      Last edited by tomleeson; 10-04-2009, 11:02 AM.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by fx.practic, 10-15-2013, 12:53 AM
      5 responses
      5,404 views
      0 likes
      Last Post Bidder
      by Bidder
       
      Started by Shai Samuel, 07-02-2022, 02:46 PM
      4 responses
      95 views
      0 likes
      Last Post Bidder
      by Bidder
       
      Started by DJ888, Yesterday, 10:57 PM
      0 responses
      7 views
      0 likes
      Last Post DJ888
      by DJ888
       
      Started by MacDad, 02-25-2024, 11:48 PM
      7 responses
      159 views
      0 likes
      Last Post loganjarosz123  
      Started by Belfortbucks, Yesterday, 09:29 PM
      0 responses
      8 views
      0 likes
      Last Post Belfortbucks  
      Working...
      X