Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

netstandard, Version=2.0.0.0, Culture=neutral

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

    netstandard, Version=2.0.0.0, Culture=neutral

    Hello, I'm trying to use a third-party library, but NinjaTrader throws an error netstandard, Version=2.0.0.0, Culture=neutral, please help me to solve this problem.

    #2
    Originally posted by Papercut110 View Post
    Hello, I'm trying to use a third-party library, but NinjaTrader throws an error netstandard, Version=2.0.0.0, Culture=neutral, please help me to solve this problem.
    NinjajTrader 8 uses .Net Framework 4.8.

    They are different.
    Study results from this search.
    Last edited by bltdavid; 12-15-2021, 11:05 AM.

    Comment


      #3
      Hello Papercut110,

      Thanks for your post.

      While .NET Framework is what we support, you can add your own DLL's and use them in your custom development works. 3rd party DLL's would be downloaded and added in the Documents\NinjaTrader 8\bin\Custom folder, and once the DLL is added, you can open the NinjaScript Editor, right click and add select References to add a reference for that DLL so you can use it.

      We will also leave the thread open for those that have used netstandard in their own custom works.

      Comment


        #4
        Originally posted by NinjaTrader_Jim View Post
        Hello Papercut110,

        Thanks for your post.

        While .NET Framework is what we support, you can add your own DLL's and use them in your custom development works. 3rd party DLL's would be downloaded and added in the Documents\NinjaTrader 8\bin\Custom folder, and once the DLL is added, you can open the NinjaScript Editor, right click and add select References to add a reference for that DLL so you can use it.

        We will also leave the thread open for those that have used netstandard in their own custom works.
        But, even referencing in not compiling.
        Added reference to 3rd Party .NetStandard 2.0 dll, -> compilation errors.
        Any solution ?
        Devdas
        NinjaTrader Ecosystem Vendor - Devdas

        Comment


          #5
          Hello devdas,

          Targeting .NET Framework 4.8 may be the best way forward since this is what we currently support.

          If you have a need for netstandard, you could try adding the following reference in the Documents\NinjaTrader 8\Config.xml file which has worked for others. (This must be done while NinjaTrader is closed.)

          <string>netstandard.dll</string>

          Comment


            #6
            Originally posted by NinjaTrader_Jim View Post
            Hello devdas,

            Targeting .NET Framework 4.8 may be the best way forward since this is what we currently support.

            If you have a need for netstandard, you could try adding the following reference in the Documents\NinjaTrader 8\Config.xml file which has worked for others. (This must be done while NinjaTrader is closed.)

            <string>netstandard.dll</string>
            Thanks Jim,

            Reference compilation gone thru smooth.
            But still need to dig more with actual app and more if assemblies got exported without error.


            Devdas
            NinjaTrader Ecosystem Vendor - Devdas

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by NullPointStrategies, Today, 05:17 AM
            0 responses
            52 views
            0 likes
            Last Post NullPointStrategies  
            Started by argusthome, 03-08-2026, 10:06 AM
            0 responses
            130 views
            0 likes
            Last Post argusthome  
            Started by NabilKhattabi, 03-06-2026, 11:18 AM
            0 responses
            70 views
            0 likes
            Last Post NabilKhattabi  
            Started by Deep42, 03-06-2026, 12:28 AM
            0 responses
            44 views
            0 likes
            Last Post Deep42
            by Deep42
             
            Started by TheRealMorford, 03-05-2026, 06:15 PM
            0 responses
            49 views
            0 likes
            Last Post TheRealMorford  
            Working...
            X