# C# SDK Style Projects - Missing Cmakelists.txt

**URL:** https://discourse.cmake.org/t/c-sdk-style-projects-missing-cmakelists-txt/6036
**Category:** Code
**Tags:** gen:vs, lang:csharp
**Created:** [July 8, 2022, 8:21pm UTC](https://discourse.cmake.org/t/c-sdk-style-projects-missing-cmakelists-txt/6036 "2022-07-08T20:21:50Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![mattsnowboard](https://discourse.cmake.org/user_avatar/discourse.cmake.org/mattsnowboard/32/2457_2.png) [@mattsnowboard](https://discourse.cmake.org/u/mattsnowboard)
#### Post date: [July 8, 2022, 8:21pm UTC](https://discourse.cmake.org/t/c-sdk-style-projects-missing-cmakelists-txt/6036/1 "2022-07-08T20:21:50Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.cmake.org/u/ben.boeckel)
#### Post date: [July 9, 2022, 1:32pm UTC](https://discourse.cmake.org/t/c-sdk-style-projects-missing-cmakelists-txt/6036/2 "2022-07-09T13:32:51Z")

</div>

Sounds like a bug to me. Could you please file [a new one](https://gitlab.kitware.com/cmake/cmake/-/issues/new) with a small reproducer example?

---

<div class="post-metadata">

### Author: ![mattsnowboard](https://discourse.cmake.org/user_avatar/discourse.cmake.org/mattsnowboard/32/2457_2.png) [@mattsnowboard](https://discourse.cmake.org/u/mattsnowboard)
#### Post date: [July 12, 2022, 8:36pm UTC](https://discourse.cmake.org/t/c-sdk-style-projects-missing-cmakelists-txt/6036/3 "2022-07-12T20:36:21Z")

</div>

Thanks, filed this issue: [CMakeLists.txt missing in SDK-style csproj (#23723) · Issues · CMake / CMake · GitLab (kitware.com)](https://gitlab.kitware.com/cmake/cmake/-/issues/23723)
