"Cannot load project with duplicated project items" error with CMake v3.11.0-rc3
Generating a build with the command:
cmake .. -G "Visual Studio 15 Win64"
When loading the solution I get an error from Visual Studio, saying it failed to load and to check the output, which contains:
Cannot load project with duplicated project items: <REDACTED>\build\src\CMakeLists.txt is included as 'CustomBuild' and as 'None' item types.
One workaround for this issue is to remove the following line in src/<PROJECT_NAME>.vcxproj
.
<None Include="<REDACTED>\build\src\CMakeLists.txt" />
This issue is not present in the latest release 3.10.2.