# Dll bundle is not correct when build with Release mode

**URL:** <https://discourse.cmake.org/t/dll-bundle-is-not-correct-when-build-with-release-mode/4295>\
**Category:** Code\
**Created:** [October 18, 2021, 6:42am UTC](https://discourse.cmake.org/t/dll-bundle-is-not-correct-when-build-with-release-mode/4295 "2021-10-18T06:42:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![1111](https://discourse.cmake.org/user_avatar/discourse.cmake.org/1111/32/1425_2.png) [@1111](https://discourse.cmake.org/u/1111)\
**Post date:** [October 18, 2021, 6:42am UTC](https://discourse.cmake.org/t/dll-bundle-is-not-correct-when-build-with-release-mode/4295/1 "2021-10-18T06:42:49Z")

</div>

Hi, I am building my Qt project with Visual Studio Generator using the following command `cmake --build . --config Release`. But When I run my program, it says the uucrtbased.dll and vcruntime140d.dll were not found? So since I built the project with Release configuration , why it is still asking me for debugging version of those DLLs?  
**I can tell the Qt part bundle is correct, only the Microsoft runtime part is not**.  
Thanks for the help

---

<div class="post-metadata">

**Author:** ![craig.scott](https://discourse.cmake.org/user_avatar/discourse.cmake.org/craig.scott/32/20_2.png) [@craig.scott](https://discourse.cmake.org/u/craig.scott)\
**Post date:** [October 19, 2021, 12:28pm UTC](https://discourse.cmake.org/t/dll-bundle-is-not-correct-when-build-with-release-mode/4295/2 "2021-10-19T12:28:31Z")

</div>

What Qt version are you using?

In case it is relevant, see [this issue](https://gitlab.kitware.com/cmake/cmake/-/issues/22745) which is for a statically built Qt 5.
