<div dir="ltr">Visual studio 2017 is able to keep old project types and build them as is... so it is using the 2013 tools even though loaded in the 2017 IDE.<div>I noticed this because the command line build tools are 2015, so if I configure a project for node; it gets built as 2015, and the visual studio project when loaded in 2017 shows (Visual Studio 2015) after the project in solution explorer...</div><div><br></div><div>And/or you should be able to set the platform toolset </div><div><br></div><div>(in the project property dialog, General) Platform toolset : Visual Studio 2015 (v140)<br></div><div>I've seen it with other IDE projects; I don't have that system available though (back to v110_xp) </div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Aug 14, 2018 at 3:20 PM Brian Davis <<a href="mailto:bitminer@gmail.com">bitminer@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>Why does CMake 3.9.0 open VS2017 when targeting 2013 after installing 2017... sigh.</div><div><br></div><div>Without even regenerating or re configuring (even though that has no effect either) when "Open Project" is selected 2017 is opened and not 2013... errr what am I targeting again?  Happened after 2017 install.  How does CMake Decide which app to call.... err I got a sneaky suspicion as to how.... in a not so goodly way.</div><div><br></div><div>Sure wishI could get CMake to open VS2013 with the environment vars I ahve set when it was called... guess  I'll have to settle for the new and improved VS2017 I can't use on the project.</div><div><br></div><div><br></div><br><br></div>
-- <br>
<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" rel="noreferrer" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Kitware offers various services to support the CMake community. For more information on each offering, please visit:<br>
<br>
CMake Support: <a href="http://cmake.org/cmake/help/support.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/support.html</a><br>
CMake Consulting: <a href="http://cmake.org/cmake/help/consulting.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/consulting.html</a><br>
CMake Training Courses: <a href="http://cmake.org/cmake/help/training.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/training.html</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://cmake.org/mailman/listinfo/cmake" rel="noreferrer" target="_blank">https://cmake.org/mailman/listinfo/cmake</a><br>
</blockquote></div>