Is there a reason that setting DOTNET_SDK "Microsoft.NET.Sdk"
causes the CMakeLists.txt file to not show up in the generate project? It is convenient simply for quickly navigating to the file and for it to get picked up automatically in VS find in all files, but it seems that it is not present when I use SDK projects.
Sounds like a bug to me. Could you please file a new one with a small reproducer example?
Thanks, filed this issue: CMakeLists.txt missing in SDK-style csproj (#23723) · Issues · CMake / CMake · GitLab (kitware.com)