Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Not open solution from ninja trade on visual studio 2019

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

    Not open solution from ninja trade on visual studio 2019

    I'm creating an indicator, but I had to debug it to understand a problem in the logic. When I press the visual studio button in ninja trade I get the following text message.

    The project file cannot be opened. Unable to locale the .net sdk. Check that il is installed and that the version specified in global.json (if any) matches the installed version

    Below are my settings



    #2
    Hello gabrielrodrigues,

    In the Visual Studio installer, please check the boxes to install .NET Compiler Platform SDK and C# and Visual Studio Basic Roslyn compilers.

    Click image for larger version

Name:	image.png
Views:	49
Size:	12.0 KB
ID:	1291315


    Click image for larger version

Name:	image.png
Views:	49
Size:	68.7 KB
ID:	1291314​​
    Attached Files
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Solved! Thank you very much

      Comment


        #4
        I'm having the same issue however the recommended files are actually installed.

        Comment


          #5
          Hello synthhokie,

          May I confirm you are using Visual Studio 2019 and NinjaTrader 8.1.2.1?

          May we have a screenshot of the Visual Studio installer showing these items are installed?
          Chelsea B.NinjaTrader Customer Service

          Comment


            #6
            Sure. I actually went ahead and installed Visual Studio 2022 as well just to test. I have attached that error as well.

            Comment


              #7
              Hello synthhokie,

              Do you have C# and Visual Basic installed as well (as shown in the screenshot of post # 2)?

              May we have a screenshot of the installed components in Visual Studio 2022?
              Chelsea B.NinjaTrader Customer Service

              Comment


                #8
                Yes. I posted this in the previous post but when I click it's a bit odd.
                Attached Files

                Comment


                  #9
                  Hello synthhokie,

                  I'm seeing .NET compilier Platform SDK and C# and Visual Basic Rosyln Compiliers but I'm not seeing C# and Visual Basic in the screenshot.

                  Have you installed this?
                  Chelsea B.NinjaTrader Customer Service

                  Comment


                    #10
                    I apologize, I see what you mean now. But yes those are installed.
                    Attached Files

                    Comment


                      #11
                      Hello synthhokie,

                      Thank you for confirming that.

                      In the .NET desktop environment section do you have .NET desktop development tools, .NET Framework 4.7.2 development tools, and C# and Visual Basic installed as well?
                      Chelsea B.NinjaTrader Customer Service

                      Comment


                        #12
                        yes appears so
                        Attached Files

                        Comment


                          #13
                          Hello synthhokie,

                          Run the repair from the NinjaTrader installer, and then reboot the computer.


                          Let me know if the visual studio button on the NinjaScript Editor is still unable to launch visual studio.
                          Chelsea B.NinjaTrader Customer Service

                          Comment


                            #14
                            This appears to have worked. Thank you!

                            Comment


                              #15
                              Hello synthhokie,

                              Whew, I'm glad that worked. Because I was out of ideas.
                              Chelsea B.NinjaTrader Customer Service

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by poplagelu, Today, 05:00 AM
                              0 responses
                              3 views
                              0 likes
                              Last Post poplagelu  
                              Started by fx.practic, 10-15-2013, 12:53 AM
                              5 responses
                              5,407 views
                              0 likes
                              Last Post Bidder
                              by Bidder
                               
                              Started by Shai Samuel, 07-02-2022, 02:46 PM
                              4 responses
                              98 views
                              0 likes
                              Last Post Bidder
                              by Bidder
                               
                              Started by DJ888, Yesterday, 10:57 PM
                              0 responses
                              8 views
                              0 likes
                              Last Post DJ888
                              by DJ888
                               
                              Started by MacDad, 02-25-2024, 11:48 PM
                              7 responses
                              160 views
                              0 likes
                              Last Post loganjarosz123  
                              Working...
                              X