The following issue has been SUBMITTED. ====================================================================== http://www.cmake.org/Bug/view.php?id=15440 ====================================================================== Reported By: Felix Bruns Assigned To: ====================================================================== Project: CMake Issue ID: 15440 Category: CMake Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2015-03-11 07:05 EDT Last Modified: 2015-03-11 07:05 EDT ====================================================================== Summary: "Visual Studio Version Selector" launches incorrect version when opening generated UTF-8 solution file. Description: Since solution (*.sln) files are encoded as UTF-8 (with signature), "Visual Studio Version Selector" doesn't detect the file format version correctly.
Opening the file with an editor, then saving it as UTF-8 (without signature) fixes the problem. Steps to Reproduce: 1. Install "Visual Studio 12 2013" 2. Install "Visual Studio 14 2015" 3. Install "CMake 3.2.0-rc2" 4. Generate a solution file using the "Visual Studio 12 2013" generator. 5. Double-click solution file in Explorer. Actual: 6. "Visual Studio 14 2015" is launched. 7. Solution file icon shows no version number in Explorer. Expected: 6. "Visual Studio 12 2013" is launched. 7. Solution file icon shows correct version number in Explorer. Workaround: 1. Use Notepad2 to open/save solution file with encoding "UTF-8" (_not_ "UTF-8 with Signature") 2. Double-click solution file in Explorer. 3. "Visual Studio 12 2013" is launched. 4. Solution file icon shows correct version number in Explorer. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2015-03-11 07:05 Felix Bruns New Issue ====================================================================== -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers