VS2017 generator creates SLN file that VS keeps changing
It seems like the VS2017 generator in CMake is resulting in invalid SLN being generated, because Visual Studio 2017 keeps making corrections to the file which results in a prompt showing the SLN file as modified. VS likes to always ask if I should discard or save it. I have attached two files for your analysis:
- FrontEnd_cmake_generated.sln: This is the SLN file generated by CMake before I opened it in Visual Studio 2017.
- FrontEnd_vs_corrected.sln: This is the same SLN file as above, but I allowed VS to save the changes it made to the SLN file.
The differences between the two are not minor, but the changes also don't seem important. For example, at the top some version number information was inserted by VS that wasn't generated by CMake.
The expectation here is that the SLN file isn't continuously modified by Visual Studio 2017. Whatever CMake generates should be accepted by VS to avoid the continuous modification prompts when closing or reloading the solution.