# How can we request to rebuild INSTALL project in visual studio (build INSTALL project is available)

**URL:** https://discourse.cmake.org/t/how-can-we-request-to-rebuild-install-project-in-visual-studio-build-install-project-is-available/6819
**Category:** Code
**Tags:** gen:vs
**Created:** [November 9, 2022, 9:26am UTC](https://discourse.cmake.org/t/how-can-we-request-to-rebuild-install-project-in-visual-studio-build-install-project-is-available/6819 "2022-11-09T09:26:18Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Nico](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/n/b5a626/32.png) [@Nico](https://discourse.cmake.org/u/Nico)
#### Post date: [November 9, 2022, 9:26am UTC](https://discourse.cmake.org/t/how-can-we-request-to-rebuild-install-project-in-visual-studio-build-install-project-is-available/6819/1 "2022-11-09T09:26:18Z")

</div>

Hello,

It is possible to request that visual studio builds the install project through:  
set(CMAKE\_VS\_INCLUDE\_INSTALL\_TO\_DEFAULT\_BUILD 1)

It is possible to request that it is built at execution time when deactivating “Only build startup projects and dependencies on Run” from Tools \> Options \> Build and run

How can we make sure the install project is built when we request a “rebuild all”? It does not work in visual studio 2019.  
Thanks
