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

.net version

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

    .net version

    Hello, what is the command to check which versions of .Net installed locally on computer? either for windows 8.1 or windows 10

    Ninjatrader 8 is built with 4.5 ?

    thanks

    #2
    Its fine i see is in regedit.exe details for local machine shows this information
    Can you confirm if users need 4.5 or 4.5.1 installed locally to run ninjatrader ? ie what is the minimum
    is the a repair process that is sometimes required for .NET I am checking something for a colleague
    thanks

    Comment


      #3
      Hello soulfx,

      Thanks for your inquiry.

      NinjaTrader 8 uses .NET 4.5. This (and other minimum requirements) can be referenced on the Minimum System Requirements page here - https://ninjatrader.com/support/help...quirements.htm

      Microsoft has a .NET repair tool that can be found here: https://www.microsoft.com/en-us/down....aspx?id=30135

      I would begin looking into .NET issues particularly if the platform crashes with a run time error after a clean installation.

      If there is anything else we can do to help, please let us know.
      Last edited by NinjaTrader_Jim; 03-29-2018, 07:24 AM.
      JimNinjaTrader Customer Service

      Comment


        #4
        Hello, i noticed the email reply said to sledge but updated here

        if a windows 10 user shows 4.7 as the version in the regedit

        will this then include lower versions ie 4.5 or 4.5.2 etc or will they need to be enabled in program features? Ie he doesnt need to explicity install 4.5.2 ? he did try but windows said already installed.

        He is trying to run a DLL i sent with a target of 4.5.2 and running into some issues

        thanks

        Comment


          #5
          Because the 4.x versions of the .NET Framework are in-place updates, you cannot install an earlier version of the .NET Framework 4.x on a system that already has a later version installed. For example, on a system with Windows 10 Fall Creators Update, you cannot install the .NET Framework 4.6.2, since the .NET Framework 4.7.1 is preinstalled with the operating system.

          The user has the Windows 10 Fall Creators Update, so it seems that the .NET Framework 4.7.1 is preinstalled with the operating system. And they can't install an earlier version.

          This was a note on some context of Windows 10 environment - are you aware of the above and if this is the case ?

          thanks

          Comment


            #6
            Hello soulfx,

            Yes, I could have had a bit more coffee this morning.

            .NET is backwards compatible and assemblies targeted for an older version of .NET should still work. I'm on Windows 10 and am using .NET 4.7.1 and I'm not seeing issues with NinjaTrader 8 or with assemblies targeted for 4.5.2.

            My expectation would be if there is an issue involving .NET on his PC, it would also effect running NinjaTrader 8 on its own. Having an issue with .NET 4.5.2 but not with 4.5 would be a rarer corner case to hit.

            I've included the AddOnFramework example compiled as a DLL targeted for .NET 4.5.2. You may drop this in the NinjaTrader 8/bin/Custom/ folder and then restart NinjaTrader to load the assembly. The DLL works on my end. If it works on yours and does not on your colleagues, I may further suspect a .NET issue.

            If the issue is evident with this assembly on your colleagues PC, please let us know.
            Attached Files
            JimNinjaTrader Customer Service

            Comment


              #7
              Thanks Jim, within the regedit on his machine it shows 4.7.02556 as per attachment.

              How do you confirm on your machine the .NET version 4.7.1 ? I note online there has been some compatibility issues with 4.7 and lower targeted assemblies ie 4.5.2,

              Just want to confirm as with different .Net 4.X versions it seems one need to check in different locations in regedit for the latest installed version.

              When i asked colleague to try to update to 4.7.1 he gets message
              NET Framework 4.7.1 or a later update is already installed on this computer.

              And i can check the enclosed on my machine then to verify if a repair is required

              thanks
              Attached Files

              Comment


                #8
                Hello soulfx,

                I referenced my trace file for the version of .NET I had installed. If I check in the registry editor, I see 4.7.02556. I'll include the snippet if you wish to find this in NT8 trace files.

                ******************* Session Start (Version 8.0.13.0) *******************
                2018-03-29 10:08:24:697 InstallDir='C:\Program Files (x86)\NinjaTrader 8\'
                2018-03-29 10:08:24:697 UserDataDir='C:\Users\YesThisIsJim\Documents\Ninja Trader 8\'
                2018-03-29 10:08:24:697 MachineID='ABE1BD6DA7018C77CBB899C800B41958'
                2018-03-29 10:08:24:698 OS='Microsoft Windows NT 10.0.16299.0'/'Win32NT'
                2018-03-29 10:08:24:698 OSLanguage='en-US'
                2018-03-29 10:08:24:698 OSEnvironment='64bit'
                2018-03-29 10:08:24:699 Processors=8
                2018-03-29 10:08:25:712 ProcessorSpeed=2.5 GHz
                2018-03-29 10:08:25:712 PhysicalMemory=8192 MB
                2018-03-29 10:08:25:796 DisplayAdapters=3/Mirage Driver|Intel(R) HD Graphics 4600|AMD FirePro W4170M (FireGL V)
                2018-03-29 10:08:25:796 Monitors=2/1920x1080|1920x1080
                2018-03-29 10:08:25:796 .NET/CLR Version='4.7.1'/64bit
                I may not be fully aware of all of these compatibility issues, but it looks like we are on the same version of .NET as your colleague. If you would like to share any resources that touch on these compatibility issues, it may be useful for the forum. However, I would expect that Microsoft will treat compatibility issues in .NET with a high priority, and using their repair tool should alleviate any such issues if those are in fact the case.
                JimNinjaTrader Customer Service

                Comment


                  #9
                  Hi Jim,

                  So, if I want to use some third party package in NT 8 like GeneticSharp which is build on .NET 4.6.2, and the .NET framework on my computer is higher, for example 4.7.1; but, NT 8 is built on .NET 4.5, is it ok for me to use the GenetiSharp within NT 8?

                  Thank you !

                  Comment


                    #10
                    Hello wolfcuring,

                    This would be outside of what is supported by NinjaTrader, however, if you are finding this 3rd party assembly is working for you it is your choice to do.
                    Chelsea B.NinjaTrader Customer Service

                    Comment


                      #11
                      Hello DEEPIKALI,

                      Welcome to the NinjaTrader forums!

                      NinjaTrader 8 targets .NET 4.5.

                      Versions above this should also contain the 4.5 libraries.
                      Chelsea B.NinjaTrader Customer Service

                      Comment

                      Latest Posts

                      Collapse

                      Topics Statistics Last Post
                      Started by GussJ, 03-04-2020, 03:11 PM
                      11 responses
                      3,229 views
                      0 likes
                      Last Post xiinteractive  
                      Started by andrewtrades, Today, 04:57 PM
                      1 response
                      14 views
                      0 likes
                      Last Post NinjaTrader_Manfred  
                      Started by chbruno, Today, 04:10 PM
                      0 responses
                      7 views
                      0 likes
                      Last Post chbruno
                      by chbruno
                       
                      Started by josh18955, 03-25-2023, 11:16 AM
                      6 responses
                      441 views
                      0 likes
                      Last Post Delerium  
                      Started by FAQtrader, Today, 03:35 PM
                      0 responses
                      12 views
                      0 likes
                      Last Post FAQtrader  
                      Working...
                      X