[CMake] CMake 3.7.0-r2 Open Project sometimes picks wrong version of Visual Studio

John Drescher drescherjm at gmail.com
Mon Dec 19 14:19:33 EST 2016


On Tue, Nov 8, 2016 at 10:28 AM,  <clinton at elemtech.com> wrote:
>
>
> ----- On Nov 8, 2016, at 8:13 AM, Taylor Braun-Jones taylor at braun-jones.org wrote:
>
>> On Fri, Nov 4, 2016 at 2:55 PM, Brad King <brad.king at kitware.com> wrote:
>>>
>>> On 11/03/2016 06:04 PM, John Drescher wrote:
>>> > I opened a project in cmake-gui using the open project button from a
>>> > vc 2010 build of a project. The open project opened the project in
>>> > Visual Studio 2010. Later I opened the same project but a different
>>> > build tree for Visual Studio 2013 CMake-gui had all of the correct
>>> > information for the Visual Studio 2013 build but open project tried to
>>> > open the Visual Studio 2013 solution in Visual Studio 2010 instead of
>>> > the expected Visual Studio 2013.
>
> I'm unable to reproduce this problem.  I have multiple Visual Studio installations of different versions.
> I'm not sure whether it could be specific to a project, or specific to installations of visual studio.
>
>>
>> I'm guessing you established MSVS2010 as the default application for
>> opening .sln files the first time you used the open project button.
>> What happens if you double click on that MSVS2013 .sln file?

Sorry for the delay. I went on vacation a few days after emailing
about this issue then forgot to check back when I returned.. If I
click on a .sln it picks the wrong version of Visual Studio as well so
this is not a CMake issue.

Thanks,
John


More information about the CMake mailing list