Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Net Framework Issue

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

    Net Framework Issue

    I run NT8 on 2 machines and had to reinstall exerything on one machine. To save time reinstalling heaps of indicators etc I copied the Ninjatrader8 directory from one machine to the other.

    Everything seems to work fine, but when I try to compile anything I get the following errors.
    Error
    Metadata file 'C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.7. 2\mscorlib.dll' could not be found
    Metadata file 'C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.7. 2\System.Data.DataSetExtensions.dll' could not be found

    I can't go back to v4.7.2

    Is there some way to point NT8 to the up to date files?

    Thanks in advance for any advice.

    #2
    Hello IanC28,

    Thank you for posting.

    If you right click in the window->References->Do you see these two references listed? If so please remove these two references then compile once again.

    If you do not see these two references listed please click add->add the two references then compile again.

    Let me know if I may be of further assistance.
    Christopher J.NinjaTrader Customer Service

    Comment


      #3
      Are you talking about the window where the errors show. I don't see the options you refer to. I have tried 'Exclude from compilation' but nothing happens.

      Comment


        #4
        Correct to access the References option you will want to right click in the code window above where the errors are displayed and select References from the list of options.
        Christopher J.NinjaTrader Customer Service

        Comment


          #5
          Hi Christopher,

          You can see my right click options on the above where the black overlays the orange. References is not an option, and neither of the exclude from compilation options work.

          I am using version 8.1.1.7 64 bit

          Thanks

          Ian

          Comment


            #6
            Can you please attach a screenshot of what you are seeing so I may further assist.

            To capture a screenshot I would recommend using Window's Snipping Tool.Alternatively to capture a screenshot press Alt + PRINT SCREEN to take a screen shot of the selected window. Then go to Start--> Accessories--> Paint, and press CTRL + V to paste the image. Lastly, save as a jpeg file and attach the file to your reply.

            Christopher J.NinjaTrader Customer Service

            Comment


              #7
              The right click popup is circled in red.

              Click image for larger version

Name:	image.png
Views:	88
Size:	80.7 KB
ID:	1268079
              The right-click popup is shown in red

              Comment


                #8
                To access References you will want to right click in the panel above where the errors are listed in the code window directly.
                Christopher J.NinjaTrader Customer Service

                Comment


                  #9
                  Thanks, got it and replaced the reference with up to date files.

                  Thanks again.​

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by Graci117, Today, 09:02 PM
                  1 response
                  4 views
                  0 likes
                  Last Post NinjaTrader_Manfred  
                  Started by ETFVoyageur, Today, 07:55 PM
                  0 responses
                  7 views
                  0 likes
                  Last Post ETFVoyageur  
                  Started by janio973, Today, 07:24 PM
                  1 response
                  7 views
                  0 likes
                  Last Post NinjaTrader_Manfred  
                  Started by aligator, 01-06-2022, 12:14 PM
                  4 responses
                  246 views
                  0 likes
                  Last Post john_44573  
                  Started by reynoldsn, Today, 05:56 PM
                  0 responses
                  14 views
                  0 likes
                  Last Post reynoldsn  
                  Working...
                  X