• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Just installed Ninjatrader 8.0.18.0, "failed to find visual studio installation"

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

    Just installed Ninjatrader 8.0.18.0, "failed to find visual studio installation"

    Just installed Ninjatrader 8.0.18.0, "failed to find visual studio installation" message appears when I click on the Ms Visual Studio icon, what should I do?

    #2
    Prior to upgrading, I did not have an issue with launching the Visual Studio editor from within Ninjatrader 8.

    Comment


      #3
      I have the Microsoft Visual Studio Community 2017 edition version 15.9.11 installed. It is the only version. And yes, the .NET desktop development is selected in the installer. Tried modifying various options as part of the visual studio reinstall, did not help with the 'missing' notification. Reinstalling NT8 also didn't help.

      Comment


        #4
        Hello bkinvent,

        I am not having an issue using Visual Studio 2017 Community Edition with release 18. I will spend some time testing with a new installation tomorrow, but in the meantime, can you confirm if you see this issue after completely uninstalling Visual Studio and reinstalling (making sure .NET Desktop Development is included?)

        https://docs.microsoft.com/en-us/vis...-workloads.png

        I look forward to being of further assistance.
        JimNinjaTrader Customer Service

        Comment


          #5
          Problem is resolved after installing visual studio to default locations.

          Is there a way of recognizing/linking visual studio without installing to default locations? System drive capacity is limited, I'd rather visual studio can be installed to an alternative drive.But it seems that NT8 is unable to link to it, once it is installed in another location, or can it?

          Comment


            #6
            Hello bkinvent,

            NinjaTrader uses vswhere.exe to find Visual Studio. NinjaTrader expects this file to be located in the following folder: %ProgramFiles(x86)%\Microsoft Visual Studio\Installer. You can open your Windows command prompt and cd to this directory and run the application to check the path assigned.

            cd C:\Program Files (x86)\Microsoft Visual Studio\Installer\
            vswhere.exe


            This will show where Visual Studio is installed. For example:

            productPath: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\devenv.exe

            Issues that could cause Visual Studio not to come up would include:

            a) vswhere is not in the proper location
            b) the IDE is not located in the designated folder.

            I found the following resource for further direction on customizing Visual Studio's location. This resource is publicly available.

            https://docs.microsoft.com/en-us/vis...s?view=vs-2019

            Please let us know if we can be of further assistance.
            JimNinjaTrader Customer Service

            Comment


              #7
              Thank you. I'll try it out at the next visual studio re-install!

              Comment


                #8
                Hi Jim, I'm also getting a "could not locate Visual Studio" error. any ideas?

                productPath is valid, IDE is in the designated folder, and .net desktop development is included.

                I Guessed it was a permissions issue, but the account i'm using has full control permissions on both the Visual Studio parent folder and subfolders, aswell as the same for NT8.

                Is this action logged anywhere?

                C:\Program Files (x86)\Microsoft Visual Studio\Installer>vswhere.exe
                Visual Studio Locator version 2.6.7+91f4c1d09e [query version 2.1.1046.44959]
                Copyright (C) Microsoft Corporation. All rights reserved.

                instanceId: 1365dad7
                installDate: 01/07/2019 13:18:03
                installationName: VisualStudio/16.1.4+29020.237
                installationPath: E:\Visual Studio 2019\Visual Studio IDE
                installationVersion: 16.1.29020.237
                productId: Microsoft.VisualStudio.Product.Community
                productPath: E:\Visual Studio 2019\Visual Studio IDE\Common7\IDE\devenv.exe
                state: 4294967295
                isComplete: 1
                isLaunchable: 1
                isPrerelease: 0
                isRebootRequired: 0
                displayName: Visual Studio Community 2019
                description: Free, fully-featured IDE for students, open-source and individual developers
                channelId: VisualStudio.16.Release
                channelUri: https://aka.ms/vs/16/release/channel
                enginePath: C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\ServiceHub\Services \Microsoft.VisualStudio.Setup.Service
                releaseNotes: https://go.microsoft.com/fwlink/?LinkId=660893#16.1.4
                thirdPartyNotices: https://go.microsoft.com/fwlink/?LinkId=660909
                updateDate: 2019-07-01T12:18:03.3338607Z
                catalog_buildBranch: d16.1
                catalog_buildVersion: 16.1.29020.237
                catalog_id: VisualStudio/16.1.4+29020.237
                catalog_localBuild: build-lab
                catalog_manifestName: VisualStudio
                catalog_manifestType: installer
                catalog_productDisplayVersion: 16.1.4
                catalog_productLine: Dev16
                catalog_productLineVersion: 2019

                Comment


                  #9
                  Hello Conall,

                  Thanks for your message.

                  The productPath is pointing to a location on your E drive, but the vswhere location is where NinjaTrader expects it. I may suggest ensuring that Visual Studio exists on this path or to attempt reinstalling Visual Studio, either to the default C:\Program Files\ folder or agin to the E drive to ensure that the paths are correct for vswhere.

                  I look forward to being of further assistance.
                  JimNinjaTrader Customer Service

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by aviat72, Today, 12:41 AM
                  1 response
                  9 views
                  0 likes
                  Last Post NinjaTrader_ChrisSch  
                  Started by _Zero_, 01-06-2020, 01:16 PM
                  2 responses
                  77 views
                  2 likes
                  Last Post CiprianV  
                  Started by RuthB, 05-29-2020, 09:41 PM
                  3 responses
                  33 views
                  0 likes
                  Last Post aviat72
                  by aviat72
                   
                  Started by Jorge.andres.o, Yesterday, 08:22 PM
                  0 responses
                  7 views
                  0 likes
                  Last Post Jorge.andres.o  
                  Started by mtamaku, Yesterday, 06:54 PM
                  0 responses
                  12 views
                  0 likes
                  Last Post mtamaku
                  by mtamaku
                   
                  Working...
                  X