# C++20 Modules MSVC error C7621: module partition 'Order' for module unit 'Mod2' was not found

**URL:** <https://discourse.cmake.org/t/c-20-modules-msvc-error-c7621-module-partition-order-for-module-unit-mod2-was-not-found/8177>\
**Category:** Development\
**Tags:** os:windows\
**Created:** [May 22, 2023, 8:02am UTC](https://discourse.cmake.org/t/c-20-modules-msvc-error-c7621-module-partition-order-for-module-unit-mod2-was-not-found/8177 "2023-05-22T08:02:54Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![bill.hoffman](https://discourse.cmake.org/user_avatar/discourse.cmake.org/bill.hoffman/32/13_2.png) [@bill.hoffman](https://discourse.cmake.org/u/bill.hoffman)\
**Post date:** [May 23, 2023, 2:32pm UTC](https://discourse.cmake.org/t/c-20-modules-msvc-error-c7621-module-partition-order-for-module-unit-mod2-was-not-found/8177/4 "2023-05-23T14:32:24Z")

</div>

Are you using the VS generator? This was recently fixed in VS and CMake.  
[https://gitlab.kitware.com/cmake/cmake/-/merge\_requests/8471](https://gitlab.kitware.com/cmake/cmake/-/merge_requests/8471)  
So, you need a new version of CMake ad VS.

---

_[View the full topic](https://discourse.cmake.org/t/c-20-modules-msvc-error-c7621-module-partition-order-for-module-unit-mod2-was-not-found/8177)._
