Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Does NT7 support .NET 4 ?

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

    Does NT7 support .NET 4 ?

    hi,
    Does NT7 support .NET Framework 4 ?

    thanks
    Last edited by aljafp; 12-02-2010, 06:50 PM.

    #2
    NT7 requires the .NET 3.5 framework, but works with 4.0 a well as this would just encompass 3.5 as well.

    Comment


      #3
      Originally posted by NinjaTrader_Bertrand View Post
      NT7 requires the .NET 3.5 framework, but works with 4.0 a well as this would just encompass 3.5 as well.
      I currently have a DLL compiled in .NET 3.5 that is working fine with Strategies in NT7.

      Had it re-compiled in NET 4. Copied over to NT custom directory,
      I can compiled my old NT strategies fine.
      But when i try to load it under strategies tab, it does not appear on the list box.
      NT log tab complains.... "no default constructor blah blah".
      Checking NT log file, it does not show the DLL as a loaded vendor assembly.

      My query is why does a .NET 4 DLL compiled without errors in the first place ?.. But subsequently cannot load ?
      I tried, repairing database, removing cache and tmp directories and all that, couldn't get it to work.

      Recompiled the DLL to .NET 3.5 everything is working fine again.

      So my conclusion, there are some issues NT7 needs to sort out before we can say it works with .NET 4

      Please get your programmers to try it out.

      thanks

      Comment


        #4
        aljafp,

        First thought is, did you add back the reference to the DLL while removing the old reference?
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          Originally posted by NinjaTrader_Josh View Post
          aljafp,

          First thought is, did you add back the reference to the DLL while removing the old reference?
          I even remove everything... that is all libraries, all references and started from fresh.
          But it did NOT work.

          Just drop the .NET 3.5 library back and everything was fine.

          Did your programmers actually tried NT7 with any .NET 4 compiled libraries ?
          Last edited by aljafp; 12-06-2010, 07:36 PM.

          Comment


            #6
            It is my understanding that NT7 does NOT support .NET 4.
            NT7 is a .NET 3.5 application.
            NT7 can however live concurrently with other .NET 4 applications


            regards
            Andreas
            www.zweisteintrading.eu

            Comment


              #7
              Originally posted by zweistein View Post
              It is my understanding that NT7 does NOT support .NET 4.
              NT7 is a .NET 3.5 application.
              NT7 can however live concurrently with other .NET 4 applications


              regards
              Andreas
              www.zweisteintrading.eu
              I hope NT can clarify. Because this was what Bertrand previously wrote
              Originally posted by NinjaTrader_Bertrand View Post
              NT7 requires the .NET 3.5 framework, but works with 4.0 a well as this would just encompass 3.5 as well.
              Last edited by aljafp; 12-16-2010, 05:22 AM.

              Comment


                #8
                Perhaps its better to say you can't use a 4.0 assembly in a 3.5 program? You can have 4.0 on your computer (I do. Anyone with VS2010 does) but anything you compile for use within NT should be 3.5. Easy.

                Comment


                  #9
                  Originally posted by zweistein View Post
                  It is my understanding that NT7 does NOT support .NET 4.
                  NT7 is a .NET 3.5 application.
                  NT7 can however live concurrently with other .NET 4 applications


                  regards
                  Andreas
                  www.zweisteintrading.eu
                  I hope NT can clarify. Because this was what Bertrand previously wrote
                  Originally posted by NinjaTrader_Bertrand View Post
                  NT7 requires the .NET 3.5 framework, but works with 4.0 a well as this would just encompass 3.5 as well.

                  Comment


                    #10
                    Originally posted by aljafp View Post
                    I hope NT can clarify. Because this was what Bertrand previously wrote
                    .NET 4 uses CLR 4 while 3.5 would work still with 2.0 - NT7 works on .NET 3.5 and 4, but is a 3.5 application.

                    Comment


                      #11
                      I think what this might mean is that if your system has an .NET 4 installation, you can still run dlls created with .NET3.5.

                      However, when you are creating new DLLs you should use .NET3.5 and not compile to .NET4.0.

                      Comment


                        #12
                        Installing NT7 w/ .NET 4

                        I have a new Vista install w/ .NET 4. When I try to download NT7 and install, it says it requires .NET 3.5

                        Is there a work-around so I don't have to run both .NET 3.5 & 4.0?

                        Comment


                          #13
                          Hi thuff,

                          You will need to install .net version 3.5 for use with NinjaTrader.
                          Ryan M.NinjaTrader Customer Service

                          Comment

                          Latest Posts

                          Collapse

                          Topics Statistics Last Post
                          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                          0 responses
                          669 views
                          0 likes
                          Last Post Geovanny Suaza  
                          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                          0 responses
                          378 views
                          1 like
                          Last Post Geovanny Suaza  
                          Started by Mindset, 02-09-2026, 11:44 AM
                          0 responses
                          111 views
                          0 likes
                          Last Post Mindset
                          by Mindset
                           
                          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                          0 responses
                          575 views
                          1 like
                          Last Post Geovanny Suaza  
                          Started by RFrosty, 01-28-2026, 06:49 PM
                          0 responses
                          580 views
                          1 like
                          Last Post RFrosty
                          by RFrosty
                           
                          Working...
                          X