Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Need help adding assembly references to Indicator

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

    Need help adding assembly references to Indicator

    Hello, I'm new to programming so I'm sorry if this is a dumb question.

    I need some advice on adding System.Data, System.Data.SqlClient and Dapper packages to my NT8 Indicator.

    The usual advice seems to be to compile my own class library and add it to the Custom folder.
    However, Windows won't let me download the runtime for .NET 4.8 so I can only target versions 5.0 and higher, which means this route has not worked for me so far.

    I have also tried copy-pasting various versions of the .dll's into Custom and adding them as references in the editor, but it seems the versions I am able to get with NuGet aren't compatible with NS.
    The compiler seems able to recognize the existence of the .dll files but does not find the types I need from them (IDbConnection & SqlConnection). VS22 has no problems finding them, and the source code is fine otherwise, so I assume I need to use something different in NT8.

    Does anyone know what I should be looking for as far as usable libraries go, or how I could target .NET 4.8 in VS22 to create my own? (I know it's not a .NET forum, sorry)

    Or is there another approach that I should try?

    Any ideas are much appreciated, thanks in advance


    #2
    It was a dumb question, I was using the wrong template type

    I should have chosen "Class Library (.NET Framework)".

    Comment


      #3
      Hi surefire93, thanks for posting. It looks like you got it resolved. Please let me know if any other questions come up. Ill be happy to help out.

      Kind regards,
      -ChrisL

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      558 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      324 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      101 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      545 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      547 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X