<table><tr><td style="">sredman added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D17908">View Revision</a></tr></table><br /><div><div><p>Hello</p>

<p>Unfortunately, I have a problem with using the batch file from this diff on my system.</p>

<p><a href="https://phabricator.kde.org/F6991413" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">F6991413: image.png</a></p>

<p>This is without my changes (<a href="https://phabricator.kde.org/D21589" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">D21589</a>), exactly the version currently on master</p>

<p>I do not have VS 2017 installed, only VS 2019 Community and VS 2015 Enterprise. As you can see, the path detected is to my VS 2015 installation, but the terminal output is the code path for the VS2017 handling (See lines 36-49 of app/windows/kdevelop-msvc.bat)</p>

<p>Loosely, this seems to be because my Windows registry for <tt style="background: #ebebeb; font-size: 13px;">HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\SxS\VS7</tt> says <tt style="background: #ebebeb; font-size: 13px;">C:\Program Files (x86)\Microsoft Visual Studio 14.0\</tt></p>

<p><a href="https://phabricator.kde.org/p/Petross404/" style="
              border-color: #f1f7ff;
              color: #19558d;
              background-color: #f1f7ff;
                border: 1px solid transparent;
                border-radius: 3px;
                font-weight: bold;
                padding: 0 4px;">@Petross404</a> are you still around? Do you have any documentation references for how Microsoft expects the registry to look with regard to which key should contain the Visual Studio installation path? (I don't know if such documentation even exists...)</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R32 KDevelop</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D17908">https://phabricator.kde.org/D17908</a></div></div><br /><div><strong>To: </strong>Petross404, KDevelop, kfunk, brauch, mwolff<br /><strong>Cc: </strong>sredman, mwolff, kdevelop-devel, hmitonneau, christiant, glebaccon, domson, antismap, iodelay, alexeymin, geetamc, Pilzschaf, akshaydeo, surgenight, arrowd<br /></div>