Visual Studio not auto-building when I press the debug button
-------------------------------------------------------------------------------
Become or hire the top 3% of the developers on Toptal https://topt.al/25cXVn
-------------------------------------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Hypnotic Puzzle4
--
Chapters
00:00 Question
00:41 Accepted answer (Score 47)
01:13 Answer 2 (Score 13)
01:40 Answer 3 (Score 0)
01:58 Thank you
--
Full question
https://superuser.com/questions/135627/v...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#visualstudio2008 #debug #compile #build
#avk47
Become or hire the top 3% of the developers on Toptal https://topt.al/25cXVn
-------------------------------------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Hypnotic Puzzle4
--
Chapters
00:00 Question
00:41 Accepted answer (Score 47)
01:13 Answer 2 (Score 13)
01:40 Answer 3 (Score 0)
01:58 Thank you
--
Full question
https://superuser.com/questions/135627/v...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#visualstudio2008 #debug #compile #build
#avk47
ACCEPTED ANSWER
Score 49
In the Visual Studio settings under Projects and Solutions->Build and Run change the option On Run, when projects are out of date: from Never Build to Always Build
Edit: Per your comments, open the "Configuration Manager" (in the Debug/Release dropdown) and ensure that the Build checkbox is checked for all of the projects you want to build in each of your configurations.
ANSWER 2
Score 13
- Navigate to Debug > Options and Settings in the VS menu or Tools > Options...
- Go to 'Projects and Solutions' > 'Build and Run' and make sure that the “Only build startup projects and dependencies on Run” box is left unchecked.
ANSWER 3
Score 0
For me, I was missing the config under Project
-> Project Dependencies
, which updates the .sln file to ensure correct build order for projects.